Bug 457883

Summary: Reinstalling an app whose shortcut was previously deleted with kmenuedit does not recreate its shortcut in kickoff
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Application Launcher (Kickoff) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: bharadwaj.raju777, mikel5764, nate, noahadvs
Priority: NOR    
Version First Reported In: 5.25.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2022-08-14 15:38:43 UTC
STEPS TO REPRODUCE
0. open kmenuedit by right-clicking on kickoff button and choosing 'Edit applications...'
1. delete the shortcut of an app with kmenuedit and save the change (tested with Gparted on my system) - after this step, the shortcut disappeared from 'All applications' submenu and its correspondent category in kickoff
2. uninstall the app whose shortcut was deleted
3. reinstall the previously uninstalled app
4. try to find the reinstalled app under 'All applications' submenu and its correspondent category

OBSERVED RESULT
the reinstalled app is still missing from 'All Applications' submenu and its correspondent category.
However, kickoff finds the reinstalled app when I search for it.

EXPECTED RESULT
after reinstalling the app in the step 3, its shortcut should be recreated in kickoff submenus

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Bharadwaj Raju 2022-10-23 19:15:07 UTC
I'm not sure how exactly Kickoff should detect that the app was reinstalled. And I'm not sure that it should be doing that even if it could. If the user deleted the app entry, that's because they don't want to see it. And if they reinstall it, presumably they *still* don't want to see it.

RESOLVED INTENTIONAL maybe?