Bug 525725 - Long labels intersect in Shortcuts KCM
Summary: Long labels intersect in Shortcuts KCM
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.7.4
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-09-14 16:39 UTC by postix
Modified: 2026-09-21 07:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.0
Sentry Crash Report:


Attachments
Screenshot (75.71 KB, image/png)
2026-09-14 16:39 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2026-09-14 16:39:36 UTC
Created attachment 196139 [details]
Screenshot

STEPS TO REPRODUCE
1. Open the shortcuts KCM
2. Window management
3. Center Window

OBSERVED RESULT
"Keine Standard-Kurzbefehle" "Benutzerdefinierte Kurzbefehle"
"No default shotscuts" "User defined shortcuts"

intersect, when the window is too small, please see the screenshot.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2
Kernel Version: 7.2.4-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Scaling: 1.25 @ 1920x1200


P.S. Sorry I did not choose the correct, kcm. It is really hard to go through the list and find the right one in bugzilla. :-/
Comment 1 Bug Janitor Service 2026-09-16 08:42:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/4006
Comment 2 cwo 2026-09-21 04:59:52 UTC
Git commit 98f7a2d04f46e774c88001c19962a6c323ece30c by Christoph Wolk.
Committed on 21/09/2026 at 04:46.
Pushed by cwo into branch 'master'.

kcm_keys: fix layouting issues

kcm_keys has some layouting issues at very small window sizes:

- The column headers (Default/Custom shortcuts) always take up the full
  width. This works fine in most languages, but breaks for the usual
  culprits of volumnious verbiage, like German and Russian
- Somewhat similarly, the shortcuts themselves always take up their full
  single-line width. This works fine almost all the time, but can break
  if you have some four-modifier monstrosities defined (as we
  unfortunately do in e.g. emojier, for technical reasons). It's even
  worse if your language has some long key names like "Leertaste", or
  constraints from long column names.

In these cases we may end up with overlapping bits, and parts of the
text or even actual buttons that are off-screen.

In principle, we could fix this just by adding Layout.fillWidth in a
couple of strategic places and allowing things to elide/wrap as
necessary. But this doesn't always yield the best results because of the
layout structure.

kcm_keys has two columns here, one left-aligned and one right-aligned.
Visually, it does not make much sense to require that the header and the
contents have the same width, as it will yield unused space and
unnecessary elision.

So we switch from a RowLayout of ColumLayout to a ColumnLayout of
RowLayouts, and set fillWidth and elide as necessary.

This makes the contents always fit at all window sizes, and elides
things only if it's really necessary and we can't take unused space from
elsewhere. Some situations are still not the utmost of what is
potentially achievable, but we're talking absolute edge cases and
they're at most a little awkward, rather than obviously broken.
FIXED-IN: 6.8.0

M  +127  -108  kcms/keys/ui/ShortcutActionDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/98f7a2d04f46e774c88001c19962a6c323ece30c
Comment 3 cwo 2026-09-21 07:53:53 UTC
Git commit 77bc8bd69df9ad183d305e08056fc4b6438f0c51 by Christoph Wolk.
Committed on 21/09/2026 at 07:31.
Pushed by cwo into branch 'Plasma/6.8'.

kcm_keys: fix layouting issues

kcm_keys has some layouting issues at very small window sizes:

- The column headers (Default/Custom shortcuts) always take up the full
  width. This works fine in most languages, but breaks for the usual
  culprits of volumnious verbiage, like German and Russian
- Somewhat similarly, the shortcuts themselves always take up their full
  single-line width. This works fine almost all the time, but can break
  if you have some four-modifier monstrosities defined (as we
  unfortunately do in e.g. emojier, for technical reasons). It's even
  worse if your language has some long key names like "Leertaste", or
  constraints from long column names.

In these cases we may end up with overlapping bits, and parts of the
text or even actual buttons that are off-screen.

In principle, we could fix this just by adding Layout.fillWidth in a
couple of strategic places and allowing things to elide/wrap as
necessary. But this doesn't always yield the best results because of the
layout structure.

kcm_keys has two columns here, one left-aligned and one right-aligned.
Visually, it does not make much sense to require that the header and the
contents have the same width, as it will yield unused space and
unnecessary elision.

So we switch from a RowLayout of ColumLayout to a ColumnLayout of
RowLayouts, and set fillWidth and elide as necessary.

This makes the contents always fit at all window sizes, and elides
things only if it's really necessary and we can't take unused space from
elsewhere. Some situations are still not the utmost of what is
potentially achievable, but we're talking absolute edge cases and
they're at most a little awkward, rather than obviously broken.
FIXED-IN: 6.8.0


(cherry picked from commit 98f7a2d04f46e774c88001c19962a6c323ece30c)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +127  -108  kcms/keys/ui/ShortcutActionDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/77bc8bd69df9ad183d305e08056fc4b6438f0c51