Bug 454424

Summary: Plasma menu does not update app list when installing/uninstalling packages
Product: [Plasma] plasmashell Reporter: dlni <nikoloskid>
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: major CC: nate
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dlni 2022-05-26 07:54:01 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Install or uninstall package from pacman/aur 
2. Check Application menu, when uninstalling packages only icon is left in the menu
3. 

OBSERVED RESULT


EXPECTED RESULT
When uninstalling a package it should delete icon from Application menu
When installing application it should update the menu

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Kernel: 5.17.9
Graphic Platform: X11
Comment 1 dlni 2022-05-26 08:00:34 UTC
For example, I still have Firefox in the Menu after removing, when I click the icon I get Launching Firefox (failed) You are not authorized to execute this fire.
sudo pacman -Rns firefox
error: target not found: firefox
Comment 2 Nate Graham 2022-05-26 16:42:18 UTC
This would require that pacman notify us or manually regenerate the app database itself whenever it installs or removes any GUI apps with .desktop files. That's how this works; the menu itself can't be constantly polling for changes or else it would consume excessive system resources. Please report this to the Arch developers. Thanks!