[plasmashell] [Bug 450673] User names get elided quite early now that text size is bigger

Nate Graham bugzilla_noreply at kde.org
Thu Feb 24 02:45:55 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=450673

Nate Graham <nate at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
                   |a630dfb6b6bbe6edc4a0246f309 |9b307559ef19a773576c745d65b
                   |ca6632f763711               |337ff287d475f

--- Comment #11 from Nate Graham <nate at kde.org> ---
Git commit 9b307559ef19a773576c745d65b337ff287d475f by Nate Graham.
Committed on 24/02/2022 at 02:40.
Pushed by ngraham into branch 'Plasma/5.24'.

SDDM theme: stop eliding people's names so aggressively

When more than one user is shown on the login screen, username labels
are limited to the width of the avatar so they don't overlap one
another. However they are not allowed to become multi-line strings, so
they can get elided if they are not somewhat short. This was worsened
recently by a change in Plasma 5.24 to increase the size of the
username labels, which shortened the amount of text that can be seen
without eliding.

This commit fixes that problem by allowing constrained username labels
to become multi-line strings with up to 3 lines, and adjusting the
surrounding layout to visually accommodate this.
FIXED-IN: 5.24.3
(cherry picked from commit a630dfb6b6bbe6edc4a0246f309ca6632f763711)

M  +7    -0    lookandfeel/contents/components/SessionManagementScreen.qml
M  +12   -15   lookandfeel/contents/components/UserDelegate.qml
M  +2    -1    lookandfeel/contents/components/UserList.qml

https://invent.kde.org/plasma/plasma-workspace/commit/9b307559ef19a773576c745d65b337ff287d475f

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Visual-design mailing list