[Bug 38823] New: Sumatra PDF 3.0: tabs don't work correctly
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(a)winehq.org Reporter: gohabsgo60(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 zippy <gohabsgo60(a)yahoo.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 zippy <gohabsgo60(a)yahoo.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gohabsgo60(a)yahoo.ca -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 Basil Eric Rabi <ericbasil.rabi(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ericbasil.rabi(a)gmail.com --- Comment #1 from Basil Eric Rabi <ericbasil.rabi(a)gmail.com> --- I'm using SumatraPDF 3.1.2 in wine 2.6. This bug is still present. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 --- Comment #2 from Basil Eric Rabi <ericbasil.rabi(a)gmail.com> --- This issue is still present in wine 2.7. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 --- Comment #3 from Basil Eric Rabi <ericbasil.rabi(a)gmail.com> --- Issue is still present in wine 2.14 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 --- Comment #4 from zippy <gohabsgo60(a)yahoo.ca> --- still present in wine 3.12 in this program, the tab area a standard windows tab control (verified with spy++). unfortunately, when using native comctl32 installed with winetricks, the program fails to start: wine: Call from 0x7b43f383 to unimplemented function comctl32.dll.HIMAGELIST_QueryInterface, aborting -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 winehq(a)atypical.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq(a)atypical.net --- Comment #5 from winehq(a)atypical.net --- A workaround for this problem now exists: winetricks gdiplus followed by winecfg create a profile for the application, then select Grahics > (uncheck) Allow the window manager to control the windows Tabs work 100%. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 Jeff Smith <whydoubt(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |whydoubt(a)gmail.com --- Comment #6 from Jeff Smith <whydoubt(a)gmail.com> --- When determining which tab is clicked, Sumatra does a transform on the cursor location, then does a IsVisible check to see if the cursor is within a bounding path. https://github.com/sumatrapdfreader/sumatrapdf/blob/3.4.6rel/src/Tabs.cpp#L1... Wine's IsVisible is _also_ applying the transform, but it should not. From another perspective, this results in the effective origin of the bounding path being twice the value that it should be. I have a fix in https://gitlab.winehq.org/wine/wine/-/merge_requests/3798 This does not address the cropped tab area (apparently not gdiplus-related since it happens with native as well), but that is already its own separate bug item. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 Bartosz <gang65(a)poczta.onet.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gang65(a)poczta.onet.pl, | |madewokherd(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 --- Comment #7 from Bartosz <gang65(a)poczta.onet.pl> --- I tested Sumatra PDF with Wine 8.16 and the issue was resolved with commit: 0c777a7d5cab90ab59d7a4a6b60c516efa7a9830 Bug should be closed as FIXED. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0c777a7d5cab90ab59d7a4a6b60 | |c516efa7a9830 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Fabian Maurer <dark.shadow4(a)web.de> --- Alright, marking fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gdiplus -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38823 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.17. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla