Bug 463373

Summary: Offer to delete shortcuts to programs in notification (or window) if executable cannot be found
Product: [Plasma] plasmashell Reporter: guimarcalsilva
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: bugseforuns, kde, nate
Priority: NOR Keywords: usability
Version: 5.26.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description guimarcalsilva 2022-12-23 03:50:39 UTC
SUMMARY

Some app image apps can offer to add themselves to Kickoff (eg. the Synfig Studio appimage). If the user deletes the .appimage file Kickoff will have an entry for an application that doesn't exist anymore. Plasma shows a notification telling the user it couldn't find the app, but in order to remove the app from the menu the user needs to manually use the Menu Editor and remove the app entry.

Offer a "Delete shortcut" right in the notification so the user can get rid of dead app shortcuts without having to resort to the Menu Editor.

STEPS TO REPRODUCE
1. Download the Synfig Studio appimage: https://www.fosshub.com/Synfig.html
2. Execute and it will ask you if you want to integrate it into the system. Click yes
3. Delete the .appimage file
4. Launch Synfig Studio from the newly created Kickoff shortcut

OBSERVED RESULT

Plasma notifies the user the program file couldn't be found but it doesn't show any obvious way of removing the dead shortcut.

EXPECTED RESULT

Offer a "Delete shortcut" right in the notification (or a window).

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 3,7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: Acer
Product Name: Aspire F5-573
System Version: V1.27
Comment 1 Nate Graham 2023-01-06 21:16:01 UTC
Good idea!