Bug 499099

Summary: Duplicate system services entries in Shortcuts settings
Product: [Applications] systemsettings Reporter: Porkepix <porkepix>
Component: kcm_keysAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: duha.bugs, fanzhuyifan, kde, nate
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot from shortcut settings
First KDE Daemon
Second KDE Daemon
First KWin
Second KWin

Description Porkepix 2025-01-24 17:19:52 UTC
Created attachment 177648 [details]
Screenshot from shortcut settings

SUMMARY

Probably following KDE/Plasma upgrade, likely from 5.x to 6.x, shortcuts have duplicate entries in system services, see joined screenshot.

STEPS TO REPRODUCE
1. Just check Shortcut settings on an old setup.

OBSERVED RESULT

Duplicate system services entries.

EXPECTED RESULT

These dupes shouldn't exist.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.2.5
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-01-27 20:30:32 UTC
Can you attach a screenshot of what's inside each of the two "KDE Daemon" entries?
Comment 2 Porkepix 2025-01-27 22:42:43 UTC
Sure, and same for KWin, because that one is also duped.
Comment 3 Porkepix 2025-01-27 22:43:28 UTC
Created attachment 177732 [details]
First KDE Daemon
Comment 4 Porkepix 2025-01-27 22:44:10 UTC
Created attachment 177733 [details]
Second KDE Daemon
Comment 5 Porkepix 2025-01-27 22:44:28 UTC
Created attachment 177734 [details]
First KWin
Comment 6 Porkepix 2025-01-27 22:44:46 UTC
Created attachment 177735 [details]
Second KWin
Comment 7 Nate Graham 2025-01-28 00:46:21 UTC
Both "KDE Daemon" entries and the "KWin" entry without an icon can be removed. Unfortunately these kinds of leftovers can happen with big upgrades, and we err on the side of caution by not automatically removing them, lest we break the system. Based on the contents in those files, you can safely remove them yourself though.
Comment 8 Porkepix 2025-01-28 01:14:37 UTC
I'd be curious though as to what led to duplicate entries being created (and some without icons), and why KDE Daemon can be completely removed for both, including the one with icon and an entry in it?
Comment 9 Nate Graham 2025-01-28 01:18:21 UTC
The items inside them were moved elsewhere in Plasma 6.