Bug 483169

Summary: Custom shortcut keys do not stay to the right edge of the window
Product: [Applications] systemsettings Reporter: Jeremy Plsek <jeremyplsek>
Component: kcm_keysAssignee: Nate Graham <nate>
Status: RESOLVED FIXED    
Severity: minor CC: kde, nate, nicolas.fella
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.2
Sentry Crash Report:
Attachments: Button gap

Description Jeremy Plsek 2024-03-10 21:15:15 UTC
Created attachment 166914 [details]
Button gap

SUMMARY

Custom shortcut keys do not stay to the right edge of the window.

STEPS TO REPRODUCE
1. Add a custom shortcut key for an application/action

OBSERVED RESULT

The button displaying the shortcut is several pixels off the right edge of the window instead of staying sticky. The gap also grows larger as the window gets wider.

EXPECTED RESULT

The buttons stay to the right edge of the window like the "Add custom shortcut" button.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.2.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-03-11 20:50:16 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2024-03-11 21:02:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2114
Comment 3 Nate Graham 2024-03-11 21:10:32 UTC
Git commit 606b158d01c8e66f6d31aef7490ecff26ac41bb8 by Nate Graham.
Committed on 11/03/2024 at 20:58.
Pushed by ngraham into branch 'master'.

kcm/keys: fix custom shortcut alignment

The RowLayout for each of these had no alignment property of its own set,
 so it wasn't hugging the right edge as intended.
FIXED-IN: 6.0.2

M  +1    -0    kcms/keys/ui/ShortcutActionDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/606b158d01c8e66f6d31aef7490ecff26ac41bb8
Comment 4 Nate Graham 2024-03-11 21:10:44 UTC
Git commit 8b37a2e192a319186d0db47b4e7655bbef06aabc by Nate Graham.
Committed on 11/03/2024 at 21:10.
Pushed by ngraham into branch 'Plasma/6.0'.

kcm/keys: fix custom shortcut alignment

The RowLayout for each of these had no alignment property of its own set,
 so it wasn't hugging the right edge as intended.
FIXED-IN: 6.0.2


(cherry picked from commit 606b158d01c8e66f6d31aef7490ecff26ac41bb8)

M  +1    -0    kcms/keys/ui/ShortcutActionDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/8b37a2e192a319186d0db47b4e7655bbef06aabc