STEPS TO REPRODUCE 1. install some app via flathub/flatpak 2. search for the app just installed in the launcher, right click its entry, select "Edit application..." (properties window shows up) 3. click "Application" tab, edit "Name" field to "AppName (flatpak)", click "Ok" button 4. uninstall the flatpak installed in the step 1 via Discover or konsole OBSERVED RESULT the entry of the uninstalled flatpak remains in the apps launcher, no matter if the launcher is kicker, kickoff or dashboard. EXPECTED RESULT the entry of the uninstalled flatpak should be removed from the launcher. SOFTWARE VERSIONS Arch Linux KDE Plasma Version: 5.14.2 KDE Frameworks Version: 5.51 Qt Version: 5.12 beta3 ADDITIONAL INFORMATION Same result when the entry is edited with kmenueditor instead with properties window.
In fact I also can reproduce the bug with apps installed via snap and distros repos. SOFTWARE/OS VERSIONS Operating System: KDE neon Developer Edition KDE Plasma Version: 5.15.80 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.0
One possible workaround would be for the "Edit" operation to add a TryExec= key to match Exec= , so that it won't be shown if the target executable no longer exists. Otherwise, I suspect there's not much that can be done.
>One possible workaround would be for the "Edit" operation to add a We can't even do that automatically, Exec could be a non-trivial command with arguments whereas TryExec is a path. There's not much we can do. Sorry.