https://bugs.kde.org/show_bug.cgi?id=494542
cwo <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/-/commi | |t/9c30f7d107ff0fe139dffefac | |bb913a39d397feb Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #5 from cwo <[email protected]> --- Git commit 9c30f7d107ff0fe139dffefacbb913a39d397feb by Christoph Wolk. Committed on 18/05/2026 at 07:46. Pushed by cwo into branch 'master'. applets/kicker: refresh kastatsfavoritesmodel after ksycoca change KAStatsFavoritesModel listens to ksycoca changes, so that any uninstalled applications can be removed from the local data structure. (Albeit with an error that makes it only remove some of the cache entries). The problem is that this is not enough; the Activities database maintains entries after they are removed, so if an uninstalled favorite is reinstalled, it should immediately show up in the favoritesmodel again (as it will after restarting or switching activities). This is particularly important as some online updates may be registered as a sequence of uninstallations and reinstallations of the software, so an update may (temporarily) remove it from the favorites. Instead, let's just regenerate the internal model when the installed apps change - we'd need to do much of the work anyway, and this is a lot simpler than manually re-establishing the sync. We also do a reset for the AppsModel in such cases (which typically has a lot more entries) and do a similar reset whenever the activity changes so adding even more complexity to this case to save a small amount of extra work does not seem necessary. Related: bug 517167, bug 503912 See also https://invent.kde.org/plasma/plasma-workspace/-/work_items/184 M +12 -23 applets/kicker/kastatsfavoritesmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/9c30f7d107ff0fe139dffefacbb913a39d397feb -- You are receiving this mail because: You are watching all bug changes.
