Bug 211318

Summary: system tray widget causes excessive CPU usage for plasma-desktop and Xorg
Product: [Unmaintained] plasma4 Reporter: Anthony Williams <anthony.ajw>
Component: widget-systemtrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andresbajotierra, asraniel, carstenobel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anthony Williams 2009-10-21 11:55:52 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

If I have the system tray widget installed then it causes plasma-desktop and Xorg to consume almost 100% CPU between them. Removing the widget immediately causes the CPU usage to drop.

There are other bugs about this, but they don't seem to match my scenario. I have tried hiding particular icons, and not hiding any. It doesn't make a difference either way. It doesn't matter which applications I have running --- even with no applications running that use the System Tray I still get the same high CPU usage.
Comment 1 Dario Andres 2009-10-21 14:31:33 UTC
In the System Tray configuration dialog, do you have one (or more) of the Icon Categories ("Application status", ...) disabled ?
Thanks
Comment 2 Anthony Williams 2009-10-21 14:51:48 UTC
On the System Tray Settings / Information panel there are four settings labelled "Icons" at the bottom. I presume these are the settings you are referring to.

Currently they are all unchecked because I unchecked them in order to try and avoid the problem (they were all originally checked) after a bit of googling suggested that the System Tray widget was the problem.

I've experimented with various combinations of these. It appears that if the Hardware Control box is unchecked, and either System Services or Application Status is also unchecked then the problem sets in. If any three are checked (only one unchecked) then the problem doesn't manifest. If Hardware Control and Communications are unchecked (and the others checked) then there is no problem.

Given this, it would appear that my original problem had another cause (which has gone away) and my current problem is due to all four boxes being unchecked.
Comment 3 Dario Andres 2009-10-21 14:55:19 UTC
Mh, then, your problem will be the one reported at bug 207177. Do you agree ?
Thanks
Comment 4 Anthony Williams 2009-10-21 15:03:15 UTC
This is certainly similar, except that if "Application status" and "Communications" are unchecked there is no problem. The problem only occurs with "Hardware Control" and either "System Services" or "Application Status".

Incidentally, I am also running this on a Dell Inspiron laptop (though mine is a 9400).

BTW, thanks for responding on this --- at least I currently have a working system tray that doesn't hog the CPU.
Comment 5 Beat Wolf 2009-12-21 12:48:30 UTC

*** This bug has been marked as a duplicate of bug 207177 ***