https://bugs.winehq.org/show_bug.cgi?id=57525
Bug ID: 57525 Summary: Systray icons cannot be interacted with Product: Wine Version: 10.0-rc1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: aros@gmx.com Distribution: ---
Steps to reproduce:
1) Download and install WinRAR 2) Hit Alt + B or Menu -> Tools -> Benchmark 3) Click Background 4) Right click the WinRar icon in the systay
Result:
Nothing happens.
Expected result:
A menu pop-up.
Last working Wine version: 9.21.
https://bugs.winehq.org/show_bug.cgi?id=57525
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |https://rarlab.com/download | |.htm
https://bugs.winehq.org/show_bug.cgi?id=57525
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #1 from Artem S. Tashkinov aros@gmx.com --- Rémi,
Please take a look at.
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #2 from Artem S. Tashkinov aros@gmx.com --- I'm using WinRAR 7.01.
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #3 from Rémi Bernon rbernon@codeweavers.com --- Could you add a bit more details? Which desktop environment are you using, is that with docked systray icons or Wine builtin floating systray?
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #4 from Artem S. Tashkinov aros@gmx.com --- (In reply to Rémi Bernon from comment #3)
Could you add a bit more details? Which desktop environment are you using, is that with docked systray icons or Wine builtin floating systray?
My DE is XFCE.
I'm using XFCE's own systray implementation, it's called "Status Tray Plugin".
I've never had this issue before.
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #5 from Rémi Bernon rbernon@codeweavers.com --- Sorry, I'm not able to reproduce any issue here. Could you attach a log with WINEDEBUG=+timestamp,+pid,+explorer,+systray,explorer.exe:+x11drv,explorer.exe:+event,explorer.exe:+cursor,explorer.exe:+win,explorer.exe:+msg showing the icon then trying to interact with it?
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #6 from Artem S. Tashkinov aros@gmx.com --- Created attachment 77586 --> https://bugs.winehq.org/attachment.cgi?id=77586 The requested log file
Weirdly I have XFCE on two of my devices (one PC, another one laptop) and on my laptop everything is fine (DPI = 144), and on my desktop PC systray is broken (DPI = 110).
The end of the log (past 200KB, not sure what the line number is) is where I tried to right and left mouse click a lot on WinRAR's systray icon and I also mouse scrolled over it.
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #7 from Artem S. Tashkinov aros@gmx.com --- Created attachment 77587 --> https://bugs.winehq.org/attachment.cgi?id=77587 And here's WinAMP's log for good measure
Again, pressed both mouse buttons a lot. Never saw a menu.
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #8 from Artem S. Tashkinov aros@gmx.com --- I have a 2560x1440 display.
In winecfg -> Graphics:
[ ] Automatically capture the mouse in full-screen windows [X] Allow the window manager to decorate the windows [X] Allow the window manager to control the windows [ ] Emulate a virtual desktop
Screen resolution: 110 dpi.
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #9 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 77598 --> https://bugs.winehq.org/attachment.cgi?id=77598 Possible fix
Could you check whether this helps?
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #10 from Artem S. Tashkinov aros@gmx.com --- Created attachment 77600 --> https://bugs.winehq.org/attachment.cgi?id=77600 WinAMP's log with the first proposed patch
(In reply to Rémi Bernon from comment #9)
Created attachment 77598 [details] Possible fix
Could you check whether this helps?
Sadly it hasn't helped.
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #11 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 77601 --> https://bugs.winehq.org/attachment.cgi?id=77601 Fix with traces
Hmm... are you sure the patch is applied? The sequence of window coordinates in the new log seem to indicate it may be not.
Anyway, let's try with more traces if you don't mind, thanks!
https://bugs.winehq.org/show_bug.cgi?id=57525
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #77600|0 |1 is obsolete| |
--- Comment #12 from Artem S. Tashkinov aros@gmx.com --- Created attachment 77602 --> https://bugs.winehq.org/attachment.cgi?id=77602 WinAMP's log with the second proposed patch
(In reply to Rémi Bernon from comment #11)
Created attachment 77601 [details] Fix with traces
Hmm... are you sure the patch is applied? The sequence of window coordinates in the new log seem to indicate it may be not.
Anyway, let's try with more traces if you don't mind, thanks!
Looks like it was applied :-)
$ patch -p1 < attachment.cgi patching file dlls/winex11.drv/window.c Reversed (or previously applied) patch detected! Assume -R? [n]
OK, reverting and applying the new one:
$ patch -p1 < attachment.cgi patching file dlls/winex11.drv/window.c Hunk #3 succeeded at 2482 (offset -3 lines).
Strangely, now it's working! Perhaps I still had wine running after I installed the new library, so it was never applied.
Your fix seems to be working.
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #13 from Rémi Bernon rbernon@codeweavers.com --- Awesome, I'll send it thank you!
https://bugs.winehq.org/show_bug.cgi?id=57525
--- Comment #14 from Artem S. Tashkinov aros@gmx.com --- Please push a merge request and thank you very much!
And once you do, this bug report could be marked as resolved.
https://bugs.winehq.org/show_bug.cgi?id=57525
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |0b4d2cd2ca1ff74936c408ae65d | |8d98172745da2 Status|UNCONFIRMED |RESOLVED
--- Comment #15 from Rémi Bernon rbernon@codeweavers.com --- Fixed with 0b4d2cd2ca1ff74936c408ae65d8d98172745da2
https://bugs.winehq.org/show_bug.cgi?id=57525
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc3.