| Summary: | Undeletable System Service under Shortcuts | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | robinei |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | nate, realkpavel |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | "applinux" entry is undeletable | ||
I can reproduce this. Does not happen if an application is added from the Add New -> Aplication menu, only when linking an executable directly. Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.2 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.4-200.fc42.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx Memory: 16 GiB of RAM (13.5 GiB usable) Graphics Processor: AMD Radeon Vega 10 Graphics Manufacturer: LENOVO Product Name: 20NKS52L02 System Version: ThinkPad T495 I've done some more testing. Looks like anything added using the Add New -> Application -> Open file dialog is treated as a ComponentNS::SystemService and thus unremovable (https://invent.kde.org/plasma/plasma-desktop/-/blob/master/kcms/keys/basemodel.cpp). This includes both binary executables and desktop files. There's a workaround: if you remove all shortcuts from an Application added this way and reboot, it will get removed. |
Created attachment 182877 [details] "applinux" entry is undeletable SUMMARY If I add an "Application" in Shortcuts settings (Add New -> Application -> Open file dialog) by browsing to an executable file, a new System Service is created which is not possible to delete. STEPS TO REPRODUCE 1. "Application" in Shortcuts settings (Add New -> Application -> Open file dialog) then browsing to an executable file. 2. Restart Settings 3. Observe that there is a new entry under Shortcuts -> System Services, with the name of the executable which was attempted to be added. This entry is undeleteable. OBSERVED RESULT Undeleteable entry is created. EXPECTED RESULT Deleteable entry created SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: 6.4.2 KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION