Bug 428356

Summary: Automatic import from /usr/share/khotkeys is broken
Product: [Applications] systemsettings Reporter: Martin <spleefer90>
Component: kcm_khotkeysAssignee: Michael Jansen <kde>
Status: RESOLVED FIXED    
Severity: normal CC: alex765, joey.joey586
Priority: NOR    
Version First Reported In: 5.20.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: /usr/share/khotkeys/c0rn3j.khotkeys

Description Martin 2020-10-27 18:07:20 UTC
Created attachment 132806 [details]
/usr/share/khotkeys/c0rn3j.khotkeys

SUMMARY
Khotkeys in Plasma 5.19 and earlier used to import hotkey files from /usr/share/khotkeys/*.khotkeys if they weren't set as AlreadyImported in ~/.config/khotkeysrc

Now none are imported even if I delete khotkeysrc.


STEPS TO REPRODUCE
1. Save attachment as /usr/share/khotkeys/c0rn3j.khotkeys
2. (Re)move ~/.config/khotkeysrc
3. Restart plasma or reboot

OBSERVED RESULT
Nothing in Custom hotkeys aside from KMenuEdit


EXPECTED RESULT
C0rn3j group and others in Custom hotkeys


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.1-arch1-1
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31.4 GiB of RAM
Graphics Processor: GeForce GTX 1080 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
Tested on multiple systems with the same result
Comment 1 David Redondo 2020-11-03 09:22:35 UTC
*** Bug 428610 has been marked as a duplicate of this bug. ***
Comment 2 Martin 2021-06-27 18:08:57 UTC
This randomly works again, not sure since when, but a fresh install of 5.22.2 does not have the issue.