https://bugs.kde.org/show_bug.cgi?id=497958
Bug ID: 497958 Summary: Removing package with favourites entry permanently leaves ghost favourites entry behind Classification: Plasma Product: plasmashell Version: 6.2.4 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Application Menu (Kicker) widget Assignee: plasma-b...@kde.org Reporter: creideiki+kdeb...@ferretporn.se Target Milestone: 1.0 Created attachment 176915 --> https://bugs.kde.org/attachment.cgi?id=176915&action=edit Screenshot showing Kicker offering to remove GnuCash from favourites, even though it's not there SUMMARY If I add an application to my favourites in Kicker, remove the OS package containing that application, and then reinstall that OS package, Kicker continues to think that the application is already in my favourites and does not let me add it, even though it isn't shown. I also cannot remove it, because it isn't there. This happened when there was a bug in GnuCash ( https://bugs.gentoo.org/941426 ) that meant the package couldn't be upgraded in place; instead, I had to first uninstall the old package and then install the new package. Afterwards, I cannot get GnuCash back among my favourites. I have not found where in the configuration the favourites list is stored to attempt to remove the ghost entry manually. STEPS TO REPRODUCE 1. Install an OS package containing a .desktop file which results in a launcher menu entry (e.g. GnuCash). 2. In the Kicker menu, browse to the installed application, right-click and select "Add to Favorites" 3. Observe that the application's icon appears in Kicker's favourites bar to the left of the menu tree. 4. Uninstall the OS package. 5. Observe that the application's icon disappears from Kicker's favourites bar. 6. Reinstall the OS package. 7. Observe that the application's icon does not reappear in Kicker's favourites bar. 8. Attempt to repeat step 2: In the Kicker menu, browse to the installed application, and right-click. 9. Observe that the "Add to Favorites" option is not available this time. Instead, the option "Remove from Favorites" is shown. 10. Select "Remove from Favorites". 11. Observe that the session's error log (in my case, for an X11 session started from SDDM, that's ~/.local/share/sddm/xorg-session.log) now shows the error: org.kde.plasma.kicker: Entry is not valid "gnucash.desktop" 0x55a3e2bc8b90 12. Observe that the favourites bar does not change. 13. Repeat step 8: In the Kicker menu, browse to the installed application, and right-click. 14. Observe that the menu still only offers to "Remove from Favorites". EXPECTED RESULT A removed .desktop file would be removed from the favourites list, so it can be re-added later. SOFTWARE/OS VERSIONS Operating System: Gentoo Linux 2.17 KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.1 Kernel Version: 6.12.4-gentoo-r1-x86_64 (64-bit) Graphics Platform: X11 Processors: 8 × AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx Memory: 13.5 GiB of RAM Graphics Processor: AMD Radeon Vega 10 Graphics -- You are receiving this mail because: You are watching all bug changes.