Bug 328111

Summary: Apper empties KDE Icon cache on startup
Product: [Unmaintained] apper Reporter: Andre Heinecke <aheinecke>
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED WAITINGFORINFO    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andre Heinecke 2013-11-26 16:02:55 UTC
In libapper/PkIcons.cpp PkIcons::configure() apper adds some resource dirs and calls "KIconLoader::global()->reconfigure("apper", 0);"

This causes the shared Icon cache used by all KDE Applications to be deleted. When apper is loaded as a plugin on the start of a plasma session this means that each time a new desktop session is started the Icon cache is recreated.
All other Applications using the Icon cache are afterwards noticeably slower in their startup because they icon cache has to be rebuilt by them.


Reproducible: Always

Steps to Reproduce:
1. Start apper
2. Monitor the KDE Icon cache (I can provide a debug patch for this if required)
Actual Results:  
Icon cache gets emptied

Expected Results:  
The Icon cache should get extended by appers Icons and not be deleted.

We have noticed this bug in a deployment where we have a large number of thin clients which load icons over NFS. As Icon loading (with all the XDG dirs etc.) is expensive over NFS we are using pregenerated caches and copy them during the startkde process. ( We've documented this here: http://techbase.kde.org/KDE_System_Administration/Caches#Using_prepared_caches_to_increase_performance )
This method to improve our startup performance was broken by apper, causing us to debug this issue to find out why it no longer works.
Comment 1 Andrew Crouthamel 2018-11-11 04:35:16 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-21 04:31:01 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Justin Zobel 2023-01-08 22:44:54 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2023-01-23 05:04:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andre Heinecke 2023-01-23 08:56:04 UTC
To be honest, I have lost a bit interest in this issue, my linux system is fast enough and on Windows we do not have Apper or a persistent Icon cache. So I am resolving this as Resolved, waitingforinfo. From the Windows side we are currently looking into this from a stanpoint of having a persistent icon cache at all: https://dev.gnupg.org/T4066