Bug 195998 - Dead kmix icon in systray
Summary: Dead kmix icon in systray
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 196194 236936 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-11 11:18 UTC by Clemens Eisserer
Modified: 2012-05-29 07:19 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
How the systray looked before I closed kmix (2.20 KB, image/jpeg)
2009-06-11 11:19 UTC, Clemens Eisserer
Details
systray after closing&starting kmix (2.52 KB, image/jpeg)
2009-06-11 11:19 UTC, Clemens Eisserer
Details
Screenshot (11.45 KB, image/png)
2009-09-05 02:32 UTC, John Varouhakis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Eisserer 2009-06-11 11:18:04 UTC
Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    Fedora RPMs

After working with my system for maybe half an hour I noticed that the systray showhow looked strange.
One kmix icon was placed between the main kamix icon and klipper (screenshot 1). So I decided to start kmix and restart it again.

This time I got two seperate icons (screenshot 2), but only the right one reacted to clicks.
Comment 1 Clemens Eisserer 2009-06-11 11:19:26 UTC
Created attachment 34426 [details]
How the systray looked before I closed kmix
Comment 2 Clemens Eisserer 2009-06-11 11:19:47 UTC
Created attachment 34427 [details]
systray after closing&starting kmix
Comment 3 Clemens Eisserer 2009-06-11 11:22:15 UTC
Update: After restarting KDE everything looks fine again
Comment 4 Clemens Eisserer 2009-06-11 11:41:50 UTC
Update2: Just happend again, this time both kmix icons respond to clicks.
Comment 5 Marco Martin 2009-06-11 12:25:07 UTC
this could be caused either by some junk graphics behind an existing systray icon (a problem that seems still present with some drivers) or more likely a bug in the dbus systray thinghie.
i suppose the culript is that kmix for a while has two systray icons for an instant when destroys the old one and creates the new one
this mean in some circumstances the systray doesn't notice the dbus service gone away or it notices but doesn't clean up stuff correctly.
it looks pretty hard to trigger and so to fix sigh ...
Comment 6 Marco Martin 2009-06-12 19:55:58 UTC
*** Bug 196194 has been marked as a duplicate of this bug. ***
Comment 7 Henry Heberle 2009-06-12 20:13:30 UTC
https://bugs.kde.org/attachment.cgi?id=34471
Comment 8 Clemens Eisserer 2009-06-13 20:19:13 UTC
Side note: when I see two kmix-icons, both are updated when I press the mute key. So they are not actually dead, but in some duplicated state.
Comment 9 John Varouhakis 2009-09-05 02:30:00 UTC
I'm also getting this behavior. It happens for kmix and knetworkmanager.

  Initially, all icons respond to clicks, until I close one, in which case 
the duplicates become dead. If the application(e.g. kmix) is restarted the 
duplicate icons that were left from before, continue to be dead and only the 
new one is responsive. I suppose that any duplicates created after this will 
be responsive, thus having some icons that can control the application and 
some that won't perform any function.

As to the conditions that cause this to happen, I'm not really sure but I think 
it hapens during resolution changes(e.g. like when launching fullscreen games)
and/or when watching videos in fullscreen.

My setup:

Debian testing/unstable

Qt: 4.5.2
KDE: 4.3.1 (KDE 4.3.1)
KNetworkManager: v0.8
KMix: 3.5
D-Bus Message Bus Daemon 1.2.16
Comment 10 John Varouhakis 2009-09-05 02:32:41 UTC
Created attachment 36703 [details]
Screenshot
Comment 11 Luca Tagliaferri 2009-11-23 10:52:39 UTC
I am having the same problem and not only with kmix icons; this time appeared with the KOrganizer daemon. In my opinion the problem occurs when som icons changes for any reason. I also found out that removing the systray and adding again to the panel tepmorarly solves the  problem.


OS:    Mandriva 2010
KDE:   4.3.2
KMix:  3.5
D-Bus: Message Bus Daemon 1.2.16
Comment 12 Theo Chatzimichos 2010-01-13 15:18:37 UTC
I am not 100% sure, but I think I had this problem with KDE 4.3 and iirc it was a Qt bug. Please try with KDE 4.4 RC and Qt 4.6 and report back
Comment 13 Beat Wolf 2010-01-13 18:21:53 UTC
setting as needsinfo, see last comment
Comment 14 Marco Martin 2010-05-09 19:05:31 UTC
*** Bug 236936 has been marked as a duplicate of this bug. ***
Comment 15 Ian Whyman (thev00d00) 2010-05-16 21:57:37 UTC
Confirmed here with:

Qt: 4.6.2
KDE Development Platform: 4.4.75 (KDE 4.4.75 (KDE 4.5 >= 20100505))
KMix: 3.7

Removing the systray removes the icons but leaves a blank space where the icon was.
Comment 16 Evert Vorster 2010-09-06 01:59:21 UTC
I can confirm this behaviour. I saw it first on KDE 4.5.0
All compiled from source, 
qt-everywhere-opensource is at version 4.6.2, which did not have this bug
with the previous version of KDE on top of it. 

Also, the Amarok icon would show a menu upon a right click before, and does not do so now. The only real change here is the KDE major version from 4.4.x to 4.5.x

-Evert Vorster-
Comment 17 Evert Vorster 2010-09-06 08:26:46 UTC
Aaand, it does not happen anymore with qt-everywhere-opensource 4.6.3.

I just HAD to go check to see if there was an upgrade available for Qt, and if this could maybe have been the cause, as the developers of KDE usually run the latest libraries. 

Looks like just upgrading Qt fixes this problem.

-Evert Vorster-
Comment 18 Myriam Schweingruber 2012-05-29 07:19:58 UTC
Closing based on comment #7