Bug 358444

Summary: kdeinit continuously searches for non-existing icons (xterm, xload; plasma workspace)
Product: [Unmaintained] plasma4 Reporter: Martin <qxlddwas>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: hein
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martin 2016-01-23 19:36:25 UTC
Scenario:
- running KDE 4.14.3 from FreeBSD ports on a FreeBSD 10.2 system
- analog clock widget shown on desktop
- usual panel components running, especially the taskbar
Result:
- when moving the cursor across various desktop items, e.g., the analog clock, all items handled by one of the kdeinit processes freeze for several hundred milliseconds
Expected result:
- plasma icons should quickly respond to focus changes etc.


Reproducible: Always


Actual Results:  
Result:
- when moving the cursor across various desktop items, e.g., the analog clock, all items handled by one of the kdeinit processes freeze for several hundred milliseconds


Expected Results:  
Expected result:
- plasma icons should quickly respond to focus changes etc.


I traced the kdeinit process exhibiting the highest cpu load and found out that it was traversing all known icon directories in search for an xload and an xterm icon. No such icons (at least by the names being searched for) exist on the system.
I then added an xload.png and an xterm.png to /usr/local/share/pixmaps; the cpu usage of the kdeinit process dropped considerably, and the delays in maintaining the plasma desktop vanished.
For newly spawned xterms and xloads, the taskbar now displays the newly installed icons instead of the default X window symbol. This leads me to suspect that it is the taskbar which is the culprit.

Recommended fix: If an icon cannot be found, the taskbar should stop searching for it instead of repeating the search whenever there is desktop activity.
Comment 1 Nate Graham 2018-06-08 18:22:34 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham