Bug 432106

Summary: Cannot remove keyboard shortcut in some KCMs
Product: [Frameworks and Libraries] frameworks-kdeclarative Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: kde, kdelibs-bugs, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=429500
Latest Commit: Version Fixed In: 5.79

Description Patrick Silva 2021-01-25 17:26:17 UTC
STEPS TO REPRODUCE
1. open Notifications KCM or Screen Locking KCM in System Settings
2. if you have opened Notifications KCM, assign a keyboard shortcut to toggle "do not disturb" mode. In Screen Locking KCM assign a keyboard shortcut to lock the screen if none is assigned yet.
3. remove the keyboard shortcut assigned in Notifications KCM or Screen Locking KCM

OBSERVED RESULT
shortcut removing cannot be confirmed because "Apply" button is greyed out.

EXPECTED RESULT
we sohuld be able to remove keyboard shortcuts assinged in Notifications and
Screen Locking KCMs.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Bug Janitor Service 2021-01-26 12:25:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kdeclarative/-/merge_requests/49
Comment 2 David Redondo 2021-01-26 16:05:53 UTC
Git commit 1f095ba3427d1adad8429991bbe43b095d3a3542 by David Redondo.
Committed on 26/01/2021 at 12:20.
Pushed by ngraham into branch 'master'.

KeySequenceItem: Assign empty string on clear instead of undefined

You cannot assign undefined to a QKeySequence but a string is converted.
FIXED-IN:5.79

M  +1    -1    src/qmlcontrols/kquickcontrols/KeySequenceItem.qml

https://invent.kde.org/frameworks/kdeclarative/commit/1f095ba3427d1adad8429991bbe43b095d3a3542