Bug 293187

Summary: 100% CPU usage by plasma-desktop due to choice off settings in System Tray
Product: [Unmaintained] plasma4 Reporter: fmuldoo <fmuldoo>
Component: widget-systemtrayAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: chris0wj, notmart
Priority: NOR    
Version First Reported In: 4.8.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.9
Sentry Crash Report:
Attachments: screen shot

Description fmuldoo@me.lsu.edu 2012-02-03 06:35:58 UTC
Created attachment 68452 [details]
screen shot

Version:           unspecified (using KDE 4.7.4) 
OS:                Linux

100% CPU usage by plasma-desktop due to choice off settings in System Tray

Reproducible: Always

Steps to Reproduce:
Open the "System Tray Settings". Select the "Display" panel/box.  If under Shown Item Categories (and all except "Application Status" and "Hardware Control" are turned off), if Hardware Control is then turned off, the CPU usage  by plasma-desktop goes to ~100%.  The CPU usage does not go to back to normal if "Hardware Control" is turned back on, but does so if "System Services" is also turned on.  If "System Services" is then turned off, all is OK.

Actual Results:  
100% CPU usage by plasma-desktop

Expected Results:  
100% CPU usage by plasma-desktop

uname -r
3.2.2-1.fc16.x86_64

[root@localhost temp22]# more /p*/cp*
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
stepping	: 7
microcode	: 0x25
cpu MHz		: 800.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc ar
ch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_t
imer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips	: 4385.38
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:
Comment 1 Chris 2012-02-09 15:31:03 UTC
I am having a similar problem, but mine occurs when I turn the check marks on for all the categories. My example is with the icon for Truecrypt. When the Truecrypt background service is running and it tries to show an icon in the tray, the icon looks like it has some weird overlap and the truecrypt process goes to 100%. When I disable all the Category checkmarks in the panel and restart the background process, this does not happen. When the background process is already running and I enable all the categories in the tray, then the cpu usage spikes. I am not sure if this is the same issue, but it is hard to find the correct one. 

I am using KDE 4.8 from the Kubuntu repositories.
Comment 2 Marco Martin 2012-06-25 14:58:10 UTC
it was due to the code used to remove some categories.
fixed in 4.9