Bug 454424 - Plasma menu does not update app list when installing/uninstalling packages
Summary: Plasma menu does not update app list when installing/uninstalling packages
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (show other bugs)
Version: 5.24.5
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-26 07:54 UTC by dlni
Modified: 2022-05-26 16:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!