Created attachment 122015 [details] screenshot SUMMARY STEPS TO REPRODUCE 1. set desktop laypout to Folder view 2. open the apps launcher, right click on any app, click "Add to desktop" 3. uninstall the app that you added to desktop OBSERVED RESULT generic icon named "org.kde.AppName.desktop" remains on desktop, see the attached screenshot. EXPECTED RESULT icon of an uninstalled app should be removed from desktop SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Operating System: Arch Linux KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.60.0 Qt Version: 5.13.0
No, Folder View isn't a dock - a file is a file, we can't just delete user files indirectly.
from the end user point of view, a shortcut added to desktop is not a file. It's jusy a shortcut. And it becomes useless when its app is uninstalled.
Would it work to change "add to desktop" to create a symlink instead of a file copy?
You'd just get a dangling symlink that shows up as a no-icon file with a broken badge.
Exactly, you'd see a name and have a visual hint that it's now obsolete.
Yup. On the other hand, then the desktop items would all have the symlink badge and the text would be italicized, which I could see people objecting to. Then again, this already happens if you make the link in certain ways. Kinda messy.