Summary: | Keyboard Shortcuts expand button is pushed to the right by very long text | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | joshas |
Component: | kcm_keys | Assignee: | Nate Graham <nate> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | duha.bugs, fanzhuyifan, kde, nate, nicolas.fella |
Priority: | NOR | ||
Version First Reported In: | 6.4.3 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/d3e02bb1d979ace8e1c083b8ee591f74ce9417bc | Version Fixed In: | 6.4.6 |
Sentry Crash Report: | |||
Attachments: | Issue with offset expand arrow button |
Description
joshas
2025-08-04 16:47:34 UTC
Can reproduce on current git master, too. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3212 Git commit d3e02bb1d979ace8e1c083b8ee591f74ce9417bc by Nate Graham. Committed on 26/09/2025 at 14:15. Pushed by ngraham into branch 'master'. kcms/keys: position expand button correctly with elided shortcut text When the shortcut text is long, the maximum length of its label is capped so that it elides rather than pushing the button out of the layout. But it was not accounting for the RowLayout's spacing, so the button got pushed a little bit anyway. Instead of this manual calculation, use the simpler horizontal stretch factor feature. FIXED-IN: 6.4.6 M +2 -1 kcms/keys/ui/ShortcutActionDelegate.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/d3e02bb1d979ace8e1c083b8ee591f74ce9417bc |