Summary: | Impossible to assign Alt-based keyboard shortcuts which also trigger buttons in the KCM | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Patrick Silva <bugseforuns> |
Component: | kcm_keys | Assignee: | Michael Jansen <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahiemstra, christ.derek, kde, nate, plasma-bugs |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kdeclarative/commit/88aabf069a0e454777c15227126732a04c8cb8b2 | Version Fixed In: | 5.75 |
Description
Patrick Silva
2020-08-30 12:43:23 UTC
May be related to bug 424947 Heh, confirmed. I guess we should block the use of accelerators while assigning shortcuts. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kdeclarative/-/merge_requests/19 Git commit 88aabf069a0e454777c15227126732a04c8cb8b2 by David Edmundson. Committed on 21/09/2020 at 09:27. Pushed by davidedmundson into branch 'master'. Block shortcuts when recording key sequences Otherwise you can't select alt+a as a shortcut without triggering the nmenomic generated shortcut on the "add application" button. Testing done: - clicked "Add custom shortcut", pressed alt+a, it was recorded successfully - focussed "Add custom shortcut", pressed alt+a, the relevant shortcut activated Note that isRecording was already declared, but not defined, which is why it looks like my diff misses something. M +7 -0 src/qmlcontrols/kquickcontrols/KeySequenceItem.qml M +7 -1 src/qmlcontrols/kquickcontrols/private/keysequencehelper.cpp M +7 -0 src/qmlcontrols/kquickcontrols/private/keysequencehelper.h https://invent.kde.org/frameworks/kdeclarative/commit/88aabf069a0e454777c15227126732a04c8cb8b2 *** Bug 422823 has been marked as a duplicate of this bug. *** |