http://bugs.winehq.org/show_bug.cgi?id=20964
Summary: Not re-registering icons in tray Product: Wine Version: 1.1.32 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: atari@gabo.pl
If an aplication that holds system tray is restarted, or started after wine - icons from windows apps running under wine are not visible.
http://bugs.winehq.org/show_bug.cgi?id=20964
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
http://bugs.winehq.org/show_bug.cgi?id=20964
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-09 03:55:33 --- Is there an application that could be used as a test case? What application are you talking about?
http://bugs.winehq.org/show_bug.cgi?id=20964
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #2 from Wylda wylda@volny.cz 2009-12-09 04:00:56 ---
From my yesterday testing day, i noticed, that QIP for example puts an icon to
the tray.
http://bugs.winehq.org/show_bug.cgi?id=20964
--- Comment #3 from Adam Klobukowski atari@gabo.pl 2009-12-09 04:23:30 --- uTorrent is a good testcase.
http://bugs.winehq.org/show_bug.cgi?id=20964
Alex Balut alexandru.balut@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandru.balut@gmail.com
--- Comment #4 from Alex Balut alexandru.balut@gmail.com 2010-05-11 16:10:48 --- What are the exact steps to reproduce this bug?
http://bugs.winehq.org/show_bug.cgi?id=20964
--- Comment #5 from Adam Klobukowski atari@gabo.pl 2010-05-12 00:21:27 --- 1. Start an application that registers tray icon (uTorrent for examle) 2. Remove or destroy somechow the tray area (in Gnome you can just remove it from panel) 3. Restore tray area.
Wine managed icon are not restored.
http://bugs.winehq.org/show_bug.cgi?id=20964
--- Comment #6 from Alex Balut alexandru.balut@gmail.com 2010-05-13 09:25:23 --- I was able to reproduce the bug with uTorrent (by removing the Notification Area plugin from the Gnome panel and adding it back).
Ubuntu 9.10 64 default wine-1.1.43 uTorrent 2.0.1 (build 19248)
http://bugs.winehq.org/show_bug.cgi?id=20964
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |orbar1@gmail.com
--- Comment #7 from Vincent Povirk madewokherd@gmail.com 2010-05-15 17:59:38 --- *** Bug 21051 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=20964
Danila Sentiabov dsent.zen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dsent.zen@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=20964
--- Comment #8 from Andreas Fink andreas.fink85@gmail.com 2010-08-21 17:22:57 --- Created an attachment (id=30275) --> (http://bugs.winehq.org/attachment.cgi?id=30275) Simple patch which reregisters the icons
This patch adds the ability for wine system tray icons (as for example uTorrent) to be readded to the systemtray if the systemtray is restarted.
There are at least 2 limitations/problems: 1. An X11-systemtray has to be running in the first place (otherwise wine is adding the icon to the internal system tray, and the icon will never be added to the X11-systemtray)
2. XSelectInput(display, root_window, StructureNotifyMask) in the file x11drv_main.c is called for every X11 display wine opens, but it only needs to be called for the systemtray controlling one (I guess explorer.exe, but I did not dig deep enough through the wine code). Anyway this does not change any behaviour, except that we are calling the function X11DRV_DockAllTrayIcons(void) where the systray icon_list is empty.
Another thing that maybe is not considering the coding guidelines is adding the function prototype X11DRV_DockAllTrayIcons(void) to dlls/winex11.drv/x11drv.h but otherwise I did not know how to let the systray know, that a new systemtray did register (in event.c we get the notification).
http://bugs.winehq.org/show_bug.cgi?id=20964
Andreas Fink andreas.fink85@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.fink85@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=20964
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2010-11-10 06:08:08 CST --- This should work now.
http://bugs.winehq.org/show_bug.cgi?id=20964
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2010-11-12 13:33:53 CST --- Closing bugs fixed in 1.3.7.