Bug 358444 - kdeinit continuously searches for non-existing icons (xterm, xload; plasma workspace)
Summary: kdeinit continuously searches for non-existing icons (xterm, xload; plasma wo...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-taskbar (other bugs)
Version First Reported In: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-23 19:36 UTC by Martin
Modified: 2018-06-08 18:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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