When setting a new shortcut to lock the session (system settings -> shortcuts; ksmserver -> lock screen), the default shortcut (ctrl + alt + l) still functions in addition to the new setting. In my particular example, setting it to Meta + L locks the screen as one would expect, but ctrl+alt+l also locks the screen. Another user has noted that setting the shortcut to None does not actually disable it. Reproducible: Always Steps to Reproduce: 1. Change the shortcut from the default to any other key combination 2. Use the new shortcut key combination (if applicable) to lock the session 3. Unlock the session 4. Use the default of ctrl+alt+l to attempt to lock the session again Actual Results: Step 4 succeeds in locking the session. Expected Results: Step 4 should noop.
I looked into this and I can confirm that, it looks like it is only overriding first shortcut here. (same problem for krunner) Dec 16 17:31:02 archbox kglobalaccel5[486]: Unregistering key "Alt+Space" for "krunner" : "run command" Dec 16 17:31:02 archbox kglobalaccel5[486]: Unregistering key "Alt+F2" for "krunner" : "run command" Dec 16 17:31:02 archbox kglobalaccel5[486]: Unregistering key "Search" for "krunner" : "run command" Dec 16 17:31:02 archbox kglobalaccel5[486]: Registering key "Alt+S" for "krunner" : "run command" Dec 16 17:31:02 archbox kglobalaccel5[486]: Registering key "Alt+F2" for "krunner" : "run command" Dec 16 17:31:02 archbox kglobalaccel5[486]: Registering key "Search" for "krunner" : "run command"
Git commit e94f325ec85fc9bfa27238c0109f4ad80d65db3f by Bhushan Shah. Committed on 18/12/2014 at 11:44. Pushed by bshah into branch 'master'. Reorder the shortcuts KGlobalAccel takes first shortcut in list as primary and other as secondary shortcut, and KShortcutsDialog only allows to edit primary shortcut, see bug https://bugs.kde.org/show_bug.cgi?id=341942 This result in problem where only Screensaver key is configurable and Alt+Ctrl+L can not be removed. Someone will less likely use Screensaver key for other purposes. Reviewed-by: Marco Martin <notmart@gmail.com> M +1 -2 ksmserver/screenlocker/ksldapp.cpp http://commits.kde.org/plasma-workspace/e94f325ec85fc9bfa27238c0109f4ad80d65db3f
*** Bug 341816 has been marked as a duplicate of this bug. ***
So this is fixed then?
Lock screen problem is fixed but potential problem in KGlobalAccel is not fixed, I will reopen this bug and assign it to kglobalaccel
Erm, sorry forgot to move to kglobalaccel.. sorry for noise
*** Bug 343178 has been marked as a duplicate of this bug. ***
No, this is not fixed in Frameworks 5.3. I cannot get Alt+F2 to work in applications as It will always be used by krunner, even if I configure krunner's primary accelerator to something else. Highly annoying to me.
*** Bug 413542 has been marked as a duplicate of this bug. ***
*** Bug 415113 has been marked as a duplicate of this bug. ***
I upgrade my openSUSE Tumbleweed which upgrade KDE from 5.17 to 5.18 and this same bug come back after doing the work around. Operating System: openSUSE Tumbleweed 20200213 KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.1 Kernel Version: 5.5.2-1-default OS Type: 64-bit Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz Memory: 7.5 GiB of RAM
The problem gone after reboot, maybe some random glitch.
Fixed in https://cgit.kde.org/plasma-desktop.git/commit/?id=1ee6660ceb62d4584a5371d0cce107b7008e75df