| Summary: | KeySequenceItem in ListView, clears the shortcut of the previously set item when trying to set another one | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kdeclarative | Reporter: | george fb <georgefb899> |
| Component: | general | Assignee: | Marco Martin <notmart> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugseforuns, kdelibs-bugs-null, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.100.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kguiaddons/commit/4cea8a179c9c3da09145a6eecee343473410a85f | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | bug showcase | ||
|
Description
george fb
2022-11-21 18:46:11 UTC
Forgot to say that the behavior start with this commit: https://invent.kde.org/frameworks/kdeclarative/-/commit/1155f4c9712afe53b68c70fdfafa4a5bf55a1b9f Here's a bug from Haruna caused by the change https://bugs.kde.org/show_bug.cgi?id=462110 I did some more testing and the problem is the fact that `keySequence` is an alias, if I change it back to var the problem goes away https://invent.kde.org/frameworks/kdeclarative/-/blob/f5d8e304a2c780312c5375ee20b54923b020b3a1/src/qmlcontrols/kquickcontrols/KeySequenceItem.qml#L15 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kguiaddons/-/merge_requests/78 Git commit 4cea8a179c9c3da09145a6eecee343473410a85f by Aleix Pol. Committed on 30/11/2022 at 00:34. Pushed by apol into branch 'master'. KeySequenceRecorder: Stop tracking recordings when we stop recording Otherwise we cancel this instance when another instance starts recording, which tampers with the state incorrectly. M +2 -2 autotests/keysequencerecordertest.cpp M +2 -0 src/recorder/keysequencerecorder.cpp https://invent.kde.org/frameworks/kguiaddons/commit/4cea8a179c9c3da09145a6eecee343473410a85f *** Bug 459314 has been marked as a duplicate of this bug. *** |