| Summary: | Plasmashell freezes for a few seconds when manually adding or removing icons to or from /usr/share/icons | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Samantha <s.rapp> |
| Component: | generic-performance | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.9 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 6.0 | |
| Sentry Crash Report: | |||
|
Description
Samantha
2023-11-14 02:22:54 UTC
IIRC we watch this path and run kbuildsycoca{5,6} in response to changes.
Cannot personally reproduce the issue with `sudo touch /usr/share/icons/foo`.
I think it may get worse/easier to trigger with lots of icons to cache. I was able to pretty reliably trigger this with the Tela icons theme Aur package (the one which includes every color variation) -- it's probably 10s of thousands of icons in that full set. Simply installing and uninstalling the package causes full hangs on each operation with my setup. With the package in the installed state, the `touch foo` would reproduce the behavior every time. I was messing around with Bazzite (based on Kinoite) and it was harder to trigger there with the base set of icons but did eventually manage to reproduce the behavior with repeated touch/rm . I will dig a bit into kbuildsycoca -- it sounds like the right process given the manual description I just updated to the 6.0 beta and can no longer reproduce the issue -- it seems icon-cache.kcache is no longer being generated/used? If so, I think there may not be much value in keeping this open; however, iirc, 5.27 is supposed to be a LTS version. That said, I wouldn't call this bug a showstopper, more an annoyance that would disappear with time as folks begin to upgrade to newer versions. Heh, no wonder I couldn't reproduce the issue on Plasma 6. I did some gigging and this got fixed a few months ago for Plasma 6, yeah! |