https://bugs.winehq.org/show_bug.cgi?id=52539
Bug ID: 52539 Summary: foobar2000 undocking from system tray works randomly Product: Wine Version: 7.1 Hardware: x86-64 URL: https://www.foobar2000.org/getfile/foobar2000_v1.6.9.e xe OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: lukasz.wojnilowicz@gmail.com Distribution: Fedora
Created attachment 71844 --> https://bugs.winehq.org/attachment.cgi?id=71844 foobar2000 undocked after 5 LMB clicks
Steps to reproduce: 1) remove ~/.wine 2) install foobar2000 3) wine foobar2000.exe 4) in menubar select "Library->Configure" 5) in configuration tree select "Display->Default User Interface->Background and Notifications" 6) Under "Window minimize and close" select "Minimize hides, close exits" 7) Under "Notification area icon" select "Show only when foobar2000 is hidden" 8) In the right top corner press minimize icon 9) foobar2000 minimizes to the system tray 10) LMB click on an icon of foobar2000 in the system tray
Behaviour: foobar2000 icon in the system tray flashes but its main window is not restored. After a couple of clicks it gets restored (see the attached movie).
Expected behaviour: foobar2000 main window should be restored after first click on its system tray icon every time.
Additional comment: 1) using KDE Plasma 5.23.5 X11 on Fedora 35 2) nothing shows in the terminal when docking/undocking foobar2000 3) "journalctl -f -g xembedsniproxy" gives kde.xembedsniproxy: adding damage watch for 85983387 kde.xembedsniproxy: Received click 1 with passed x*y 1052 784 kde.xembedsniproxy: Click point: QPoint(4,4) kde.xembedsniproxy: trying to undock window 85983387 kde.xembedsniproxy: trying to dock window 85983392 kde.xembedsniproxy: adding damage watch for 85983392 kde.xembedsniproxy: Received click 1 with passed x*y 1053 783 kde.xembedsniproxy: Click point: QPoint(4,4) kde.xembedsniproxy: trying to undock window 85983392
Until foobar2000 window is finally restored.