Bug 432106 - Cannot remove keyboard shortcut in some KCMs
Summary: Cannot remove keyboard shortcut in some KCMs
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kdeclarative
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-25 17:26 UTC by Patrick Silva
Modified: 2021-01-26 16:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.79


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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