Bug 487682

Summary: Support modifier-only shortcuts in KShortcutsEditor
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: adrian.groh
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: adrian.groh, fanzhuyifan, nate
Priority: NOR Keywords: usability
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=371560
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description adrian.groh 2024-05-28 10:59:40 UTC
SUMMARY
In Plasma 6.1 Beta, I can now assign modifier-only shortcuts in the Shortcuts - System Settings, but trying to assign them in config menus that use KShortcutsEditor still does not work. For example, going to Desktop Effects -> Overview -> click the configure button, it is not possible to bind a modifier by itself there, while it is possible to bind it in the Shortcut System Settings directly.

STEPS TO REPRODUCE
1. Open any shortcut editor that uses KShortcutsEditor
2. Try to bind a modifier key by itself

OBSERVED RESULT
The editor will not allow binding modifier-only shortcuts.


EXPECTED RESULT
The editor should allow this, as this is now possible in the global shortcut settings.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Workaround: Use the global shortcut settings to configure modifier-only shortcuts
Comment 1 fanzhuyifan 2024-05-28 15:51:00 UTC
Reassigning to Frameworks / KXMLGUI, which provides kshortcutseditor