Bug 506503 - Undeletable System Service under Shortcuts
Summary: Undeletable System Service under Shortcuts
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.4.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-02 21:01 UTC by robinei
Modified: 2025-08-20 18:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
"applinux" entry is undeletable (93.68 KB, image/png)
2025-07-02 21:01 UTC, robinei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robinei 2025-07-02 21:01:22 UTC
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
Comment 1 Kat Pavlu 2025-07-06 13:47:06 UTC
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
Comment 2 Kat Pavlu 2025-07-06 16:00:39 UTC
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.