| Summary: | Application menu occasionally fails to update after installing or removing applications until KSycoca cache rebuild | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Luka Rasputin <nanoblade9> |
| Component: | Application Launcher (Kickoff) widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | kdedev, mikel5764, nate, noahadvs |
| Priority: | NOR | ||
| Version First Reported In: | 6.5.1 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Screenshot of Bottles missing an icon
Script to reproduce the issue |
||
|
Description
Luka Rasputin
2025-11-01 15:49:33 UTC
Thanks for the bug report. I'm not able to reproduce this on Plasma built from git-master. After installing the OBS flatpak, it was immediately available in Application Menu -> Multimedia. After removing, it is removed from the menu. I had uninstalled and reinstalled it 5 times. I'm also unable to reproduce on Fedora 42 with Plasma 6.5.1 Given that this is intermittent, I'll leave this open so others can try to reproduce I've also noticed that sometimes newly installed applications are missing an icon. Restarting Plasma also fixed this. Not sure if it's the same bug or not. Created attachment 186781 [details]
Screenshot of Bottles missing an icon
Yeah, this one is going to be some super weird issue. We'll need steps to reproduce so we can investigate and fix it. Can you do some troubleshooting? For example, does it happen in a new clean user account on the same computer? Yes, it does happen in a fresh user account. I tried reproducing the bug by installing different applications, but it doesn't seem to depend on the specific apps. The same applications may or may not appear in the menu, it seems random. When they don't appear, reinstalling them, restarting Plasma, or manually running kbuildsycoca6 makes them show up in the menu. Created attachment 187532 [details]
Script to reproduce the issue
I created a script to reproduce the issue more easily.
Steps to reproduce the issue:
1. Install any valid desktop entry to `$HOME/.local/share/applications`
2. Ensure the file does not have duplicates in `/usr/share/applications`
3. Modify the `DESKTOP_ENTRY` variable in the script to point to your file
4. Run the script
5. While the script is running, try to locate the app in its category in the application menu (but don't search for the app by name)
6. After checking, close the application menu (it doesn't refresh while open)
As the script renames the .desktop file, the entry should disappear from the menu when the file's suffix is changed to .bak and reappear when it changes back to .desktop. However, sometimes the menu does not update as expected, and the app remains listed when it should disappear, or vice versa.
|