https://bugs.kde.org/show_bug.cgi?id=518223
Bug ID: 518223
Summary: User list is not shown when too many users exist
Classification: Plasma
Product: plasma-login-manager
Version First unspecified
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
SUMMARY
There's a hard cap on 7 user avatars shown, with an unsatisfying fallback of
showing no users at all.
sddm broke overnight and I couldn't find the cause, so I decided to try the
shiny new plasma-loginmanager. Thank you for putting work into this!
That fixed my immediate issue, but now the user list is missing. When unlocking
an existing session, the single avatar of that session is shown, but no avatar
lists for new sessions.
I found a check against a hardcoded limit of 7 users in:
https://invent.kde.org/plasma/plasma-login-manager/-/blob/90cb7bb583fbd5fd89a751ce39924c7e71e9a3ee/src/frontend/greeter/qml/GreeterState.qml#L37
Which is then used here to set a suspiciously named showUserList variable:
https://invent.kde.org/plasma/plasma-login-manager/-/blob/90cb7bb583fbd5fd89a751ce39924c7e71e9a3ee/src/frontend/greeter/qml/Main.qml#L162
In SDDM there was an option to set
> [Theme]
> DisableAvatarsThreshold=20
but that setting no longer seems to exist
(https://invent.kde.org/plasma/plasma-login-manager/-/blob/90cb7bb583fbd5fd89a751ce39924c7e71e9a3ee/src/common/mainconfig.kcfg)
and putting it into /etc/plasmalogin.conf had no effect.
SDDM also had an option to remove users to keep the list smaller (which could
get me back to exactly 7 for now), but that's already tracked in bug #515108.
While I respect the choice to simplify code and options, 7 seems awfully small
for my needs. I don't use users just for different persons, but also for
sandboxing and separation. Separate users for personal files, for work stuff,
for closed source wine games etc, plus sandboxed users without network access.
I'm currently at 9 users on this machine (7 of which use graphical sessions),
all of which are in regular use, and this list is not expected to get smaller
over time.
There should be plenty of space on modern monitors to raise that limit to 15 or
more without issue - or maybe the cutoff could dynamically adapt to monitor
resolution (not sure if qml has access to that).
Alternatively, if an option was re-added, maybe the user friendly choice is
"Show avatar list: auto/always/never" instead of a cutoff, combined with "Hide
users in avatar list:" from 515108.
STEPS TO REPRODUCE
1. boot into plasma-loginmanager on my system; possibly on other systems with
more than 7 valid users.
OBSERVED RESULT
No user list or avatars shown
EXPECTED RESULT
Fancy avatars to choose from
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.11.0
Kernel Version: 6.19.9-arch1-1 (64-bit)
Graphics Platform: Wayland
extra/plasma-login-manager 6.6.3-1 (plasma) [installed]
--
You are receiving this mail because:
You are watching all bug changes.