Version: svn snapshot (using Devel) Compiler: gcc 4.4.3 with gentoo patches OS: Linux Installed from: Compiled sources The bug seems only happen in KDE program with a tray icon: after the program exit, no matter if it is killed by me or crashed, the tray icon still stays in the system tray. If I restart the program there will be two icon show up in the system tray. The tray icon of the dead program does not respond to mouse clicks, but if I hover the mouse on it, some help tips still pop up.
Which kind of KDE apps should this behaviour ? (I'm trying to notice if they use the new system tray protocol..) Some changes were made in the underline technologies recently on trunk, so this may be a regression. Also, what is your SVN revision/branch ? Regards
I have tested with kopete, amarok, and knetworkmanager (the monolithic app, not the plasma applet). The pure qt client of last.fm does not have this problem. I am using svn r1109287 now, but the bug has been there for at least a week I think.
I have experienced this but only with the "Hidden icons" list popup.. and I think it was fixed in recent builds... May be that one fixed the bug you are mentioning too ?
I tested r1110411 yesterday but the bug still there. I am not sure what you mean by ""Hidden icons" list popup", I have the default settings, all the icons are "auto" in the autohide configuration dialog. And if I reload the systemtray, the name for the dead icon will become something like "StatusNotiferItemxxx" instead of the name of the program.
About "Hidden icons" list popup: When you click the "Unhide icons" arrow in the systray, a list appears (this is a new KDE SC 4.5 behavior)
Oh, I see, when I set some icon to "hide" in the config dialog that little triangle will show up. I can hide the dead icon in this way, but it still show up in the hidden icon popup.
FYI, I removed my KDEHOME(.kde4) and tried again, the bug can still be reproduced, so it does not seems to be caused by outdated config files.
*** Bug 233333 has been marked as a duplicate of this bug. ***
From bug 233570: --- Icons remain on the systray even after the application quits. Eg. start amarok, its icon appears. Right click on it, quit -> the icon is still there. Start amarok again, a new amarok icon appears. Same with konversation. Now do a kquitapp plasma-desktop;plasma-desktop: the icons disappear, but their place is still reserved in the systray, and you will have lot of "unused" place. Removing/readding the system tray doesn't help either.
*** Bug 233570 has been marked as a duplicate of this bug. ***
SVN commit 1116963 by mart: watch just the sevice, not the service+path BUG: 232915 M +3 -2 statusnotifierwatcher.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1116963
Just tested with 1116965, the icons of kopete and amarok still stay in the systemtray after the program quitted. Cannot find a place to reopen the bug report :(
Reopening, as the bug is still there.
@LuRan: are you sure you updated really everything and restared kded4? just restarting plasma won't work the bug really is not reproducible anymore there
I did do it...
@Marco: I removed the old binarys and reinstalled everything, and restarted kde. I did not try to remove the old config files though.
I can confirm it's *not* fixed here, with kde trunk. I did not try removing the config files either.
*** Bug 232650 has been marked as a duplicate of this bug. ***
Still there in trunk from today.
*** Bug 238461 has been marked as a duplicate of this bug. ***
I have tried qt 4.7 snapshot (c12af169a157a5ba2e25289b996648a9a8e3cb9f) and the bug is gone. So maybe this bug is somehow related to qt?
*** Bug 239047 has been marked as a duplicate of this bug. ***
*** Bug 240021 has been marked as a duplicate of this bug. ***
The bug seems to not happen with Qt 4.6.3.
I can confirm this with KDE 4.5 beta 1, but only occurs with statusicon that use new kde tray icon(which support plasma tooltip), not with the old one like use xlib or gtk. Maybe there is some problem with such tray icon using dbus.
@Weng Xuetian: what Qt version do you use?
Archlinux qt 4.6.2-4 KDE 4.5 beta 1 compiled from source (KDE 4.4.3 works well for me, with the same qt) I think it maybe not cause by qt? I can see such entry like "org.kde.StatusNotifierItem-936-1/StatusNotifierItem" in system tray setings-> entries after a tray icon with plasma support exit. Seems some none existing item is not removed. And I can not find that item from qdbus result. And restart plasma will not fix this problem, only logout and login will work.
Created attachment 47554 [details] Screenshot under 4.5 beta1
Fixed here with Qt 4.7_beta1
I had this problem with Qt 4.6.2, but it's fixed with both Qt 4.6.3 and 4.7.
You guys are right.. compile with qt 4.6-stable branck.. it fixed..
is a Qt bug, resolved in 4.6.3