SUMMARY I have just upgraded to Plasma 6 and no custom shortcuts (now under "commands") are working. When I edit them, I get shown only their name, but not what command they should induce - it's now impossible to edit the action they should induce! Maybe that is the error? In short, my custom shortcuts have stopped working completely. I think that this is because of a severe mishap in naming the shortcuts vs what the shortcut should actually do. STEPS TO REPRODUCE 1. Have a/Set a new shortcut in systemsettings 2. Name it 3. Try to execute it / assign a command to it OBSERVED RESULT Shortcuts aren't working. EXPECTED RESULT Shortcuts to work normally. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20240317 KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.7.9-1-default (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz Memory: 31.0 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620
What shortcut keys are you assigning? How are you verifying that the commands are not being run? Does the issue still occur when you re-assign the shortcuts?
Please attach your .config/kglobalshortcutsrc
Created attachment 167563 [details] kshortcutsrc
(In reply to Nicolas Fella from comment #2) > Please attach your .config/kglobalshortcutsrc Attached.
(In reply to fanzhuyifan from comment #1) > What shortcut keys are you assigning? How are you verifying that the > commands are not being run? Does the issue still occur when you re-assign > the shortcuts? No commands are being run. This is regarding all keyboard shortcuts, using Meta, Ctrl, Shift etc. - nothing makes any difference. Reassigning the shortcuts does not work. Also, the subfolders/shotrcut categories are gone and I can't create new ones.
I can confirm also experiencing this behavior.(In reply to Krystof Jelinek from comment #0) > SUMMARY > I have just upgraded to Plasma 6 and no custom shortcuts (now under > "commands") are working. When I edit them, I get shown only their name, but > not what command they should induce - it's now impossible to edit the action > they should induce! Maybe that is the error? > > > In short, my custom shortcuts have stopped working completely. I think that > this is because of a severe mishap in naming the shortcuts vs what the > shortcut should actually do. > > > STEPS TO REPRODUCE > 1. Have a/Set a new shortcut in systemsettings > 2. Name it > 3. Try to execute it / assign a command to it > > OBSERVED RESULT > Shortcuts aren't working. > > EXPECTED RESULT > Shortcuts to work normally. > > SOFTWARE/OS VERSIONS > Operating System: openSUSE Tumbleweed 20240317 > KDE Plasma Version: 6.0.2 > KDE Frameworks Version: 6.0.0 > Qt Version: 6.6.2 > Kernel Version: 6.7.9-1-default (64-bit) > Graphics Platform: Wayland > Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz > Memory: 31.0 GiB of RAM > Graphics Processor: Mesa Intel® UHD Graphics 620
Is this only about the command shortcuts? Do system shortcuts (like brightness/volume keys etc) work fine? Can you attach your .config/khotkeysrc file?
Created attachment 167570 [details] attachment-729046-0.html Sure I'll attach it later today On Thu, Mar 21, 2024, 4:12 PM Nicolas Fella <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=484063 > > --- Comment #7 from Nicolas Fella <nicolas.fella@gmx.de> --- > Is this only about the command shortcuts? Do system shortcuts (like > brightness/volume keys etc) work fine? > > Can you attach your .config/khotkeysrc file? > > -- > You are receiving this mail because: > You are on the CC list for the bug.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kglobalacceld/-/merge_requests/48
Okay, I see where it's going wrong, there's a problem in the khotkeys migration code. https://invent.kde.org/plasma/kglobalacceld/-/merge_requests/48 fixes that, but it won't fix already done updates. You can remove and manually re-add the shortcuts to fix them, or edit the kglobalshortcutsrc file manually and replace e.g. [services][{348c8c17-66c5-4884-b2b4-c0107defdf64}.desktop] _launch=Meta+Shift+S,\s with [services][{348c8c17-66c5-4884-b2b4-c0107defdf64}.desktop] _launch=Meta+Shift+S
Redoing the shortcuts does not appear to fix the issue for me at least. I can apply latest patches and try again however.. When what that update?
(In reply to Nicolas Fella from comment #10) > Okay, I see where it's going wrong, there's a problem in the khotkeys > migration code. > > https://invent.kde.org/plasma/kglobalacceld/-/merge_requests/48 fixes that, > but it won't fix already done updates. > > You can remove and manually re-add the shortcuts to fix them, or edit the > kglobalshortcutsrc file manually and replace e.g. > > [services][{348c8c17-66c5-4884-b2b4-c0107defdf64}.desktop] > _launch=Meta+Shift+S,\s > > with > > [services][{348c8c17-66c5-4884-b2b4-c0107defdf64}.desktop] > _launch=Meta+Shift+S Or is the merge not done yet?
Git commit 46412a8aa5d5746ebf71c7f6216ada37b5d7f4a2 by Nicolas Fella. Committed on 21/03/2024 at 21:09. Pushed by nicolasfella into branch 'master'. Fix KHotkeys migration We must only write the current shortcut, not the full old shortcuts string that includes default shortcut and description M +1 -1 src/globalshortcutsregistry.cpp https://invent.kde.org/plasma/kglobalacceld/-/commit/46412a8aa5d5746ebf71c7f6216ada37b5d7f4a2
Git commit 2ddcc42067f9104f90cbd69bcfa7347f81023185 by Nicolas Fella. Committed on 22/03/2024 at 13:01. Pushed by nicolasfella into branch 'Plasma/6.0'. Fix KHotkeys migration We must only write the current shortcut, not the full old shortcuts string that includes default shortcut and description (cherry picked from commit 46412a8aa5d5746ebf71c7f6216ada37b5d7f4a2) M +1 -1 src/globalshortcutsregistry.cpp https://invent.kde.org/plasma/kglobalacceld/-/commit/2ddcc42067f9104f90cbd69bcfa7347f81023185
(In reply to etoven from comment #11) > Redoing the shortcuts does not appear to fix the issue for me at least. I > can apply latest patches and try again however.. When what that update? I mean removing the entry entirely by clicking on the delete icon in the sidebar and re-adding it via "Add new" > "Command or script". Reassigning a key is a bit broken currently, see https://bugs.kde.org/show_bug.cgi?id=471370
(In reply to Nicolas Fella from comment #15) > (In reply to etoven from comment #11) > > Redoing the shortcuts does not appear to fix the issue for me at least. I > > can apply latest patches and try again however.. When what that update? > > I mean removing the entry entirely by clicking on the delete icon in the > sidebar and re-adding it via "Add new" > "Command or script". > > Reassigning a key is a bit broken currently, see > https://bugs.kde.org/show_bug.cgi?id=471370 I'll try that