Summary: | Can not save editing "New Action" command in Plasma 6 | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Víctor <vmorenomarin> |
Component: | kcm_keys | Assignee: | Nate Graham <nate> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bharadwaj.raju777, duha.bugs, fanzhuyifan, kde, nate |
Priority: | HI | Keywords: | qt6 |
Version: | 5.93.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=484063 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/7f70e727f1c54b1b305f4f6c510c1e947066013e | Version Fixed In: | 6.0.1 |
Attachments: | Video with step-by-step |
Description
Víctor
2024-02-25 18:24:34 UTC
Can reproduce -> confirming: Operating System: Arch Linux KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.7.5-arch1-1 (64-bit) Graphics Platform: Wayland Can also reproduce. Clicking the save button throws an error:
> qrc:/kcm/kcm_keys/main.qml:404: Error: Cannot assign to non-existent property "label"
It looks like the command is actually changed, it's just the label in the UI that doesn't get changed, and the dialog doesn't go away due to the error interrupting the normal command flow. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2072 Git commit e9600f773fdbcba72778a1d3f36d25290565bbcf by Nate Graham. Committed on 29/02/2024 at 17:31. Pushed by ngraham into branch 'master'. kcms:keys: fix changing command text or path The code was trying to change an item by its ID that is dynamically instantated within a delegate; that won't work. Instead we need to change a top-level property on the delegate itself and bubble that change down to its contentItem. FIXED-IN: 6.0.1 M +6 -3 kcms/keys/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/e9600f773fdbcba72778a1d3f36d25290565bbcf Git commit 7f70e727f1c54b1b305f4f6c510c1e947066013e by Nate Graham. Committed on 29/02/2024 at 18:51. Pushed by ngraham into branch 'Plasma/6.0'. kcms:keys: fix changing command text or path The code was trying to change an item by its ID that is dynamically instantated within a delegate; that won't work. Instead we need to change a top-level property on the delegate itself and bubble that change down to its contentItem. FIXED-IN: 6.0.1 (cherry picked from commit e9600f773fdbcba72778a1d3f36d25290565bbcf) M +6 -3 kcms/keys/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/7f70e727f1c54b1b305f4f6c510c1e947066013e |