https://bugs.winehq.org/show_bug.cgi?id=38823
Bug ID: 38823 Summary: Sumatra PDF 3.0: tabs don't work correctly Product: Wine Version: 1.7.45 Hardware: x86 URL: https://kjkpub.s3.amazonaws.com/sumatrapdf/rel/Sumatra PDF-3.0-install.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gohabsgo60@yahoo.ca Distribution: ---
to reproduce, install Sumatra PDF 3.0 in a clean prefix using the default options.
then, in wincfg, either turn off "Allow the windows manager to decorate the windows" or turn on "Emulate a virtual desktop", so that the tab area isn't cropped.
then click on the menu button, choose File > Open... and open a bunch of files (10 is a good number).
each file is opened in a tab. cycling through the tabs with the keyboard works perfectly (Ctrl-Tab and Ctrl-Shift-Tab). however, the tabs aren't handling mouse events properly.
if we number the tabs 0,1,2,3... then two things become apparent: -- odd numbered tabs don't seem to respond to mouse events at all. -- hovering/clicking tab 2*n will highlight/activate tab n, e.g., clicking tab 6 activates tab 3.
the program is open source and the code is avilable here: https://github.com/sumatrapdfreader/sumatrapdf