SUMMARY Importing shortcut schemes does not work STEPS TO REPRODUCE 1. Export a shortcut scheme 2. Modify it to add a key 3. Reimport it OR 1. Export shortcut scheme 2. Delete the shortcut category 3. Import it OBSERVED RESULT No shortcuts are updated / the category is not reimported. EXPECTED RESULT Importing a shortcut scheme should override any existing shortcuts and should readd the category. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.19.90 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 Kernel Version: 5.8.12-arch1-1 OS Type: 64-bit Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz Memory: 7.6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 530 ADDITIONAL INFORMATION I see `Oct 01 09:47:09 desktop systemsettings5[5518]: org.kde.kcm_keys: Ignoring unknown component "kwin"` in journalctl, nothing much else.
The reason the kcm ignores an unknown category is that it would have no effect. If the backend doesn't know the category, no shortcut will work and displaying them make sense
However your first example should work. Can you post more detailed steps/or if there are messages in the log for that?
Created attachment 132062 [details] logs of running `systemsettings5` I've attached the logs from export > edit > reimport. It ends with the same final error message as the other one: `org.kde.kcm_keys: Ignoring unknown component "kwin"`
I will investigate
*** Bug 427359 has been marked as a duplicate of this bug. ***
Changing kwin to KWin manually lets me import the scheme.
Git commit 0767688c0d5f4cb1e7df9a03fd80b6f18a1e031c by David Redondo. Committed on 05/10/2020 at 13:54. Pushed by davidre into branch 'master'. Compare against coponent id when importing We export the id not the displayName M +1 -1 kcms/keys/globalaccelmodel.cpp https://invent.kde.org/plasma/plasma-desktop/commit/0767688c0d5f4cb1e7df9a03fd80b6f18a1e031c
Git commit 32f4472a37c4efded4e505a7d8737a93634a3a36 by David Redondo. Committed on 05/10/2020 at 13:56. Pushed by davidre into branch 'Plasma/5.20'. Compare against coponent id when importing We export the id not the displayName (cherry picked from commit 0767688c0d5f4cb1e7df9a03fd80b6f18a1e031c) M +1 -1 kcms/keys/globalaccelmodel.cpp https://invent.kde.org/plasma/plasma-desktop/commit/32f4472a37c4efded4e505a7d8737a93634a3a36