Bug 441821 - Users (local accounts) list looks bad when "real name' isn't filled in
Summary: Users (local accounts) list looks bad when "real name' isn't filled in
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: 5.22.4
Platform: Other Linux
: NOR minor (vote)
Target Milestone: ---
Assignee: Janet Blackquill
Depends on:
Reported: 2021-08-31 17:30 UTC by ratijas
Modified: 2021-09-01 19:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23

without name (99.35 KB, image/png)
2021-08-31 17:30 UTC, ratijas
with name (101.38 KB, image/png)
2021-08-31 17:30 UTC, ratijas

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2021-08-31 17:30:17 UTC
Created attachment 141187 [details]
without name

Users on Linux usually just have a username. Desktop environments may try to provide "full name" and profile picture extensions, but they are for obviously not mandatory. I was surprised to find out that Users KCM of system settings seriously expected me to provide full name, otherwise the list of users looks weird without it.

1. Open system settings
2. Open Users tab/page/KCM
3. Select your account or create a new one
3. Remove text from the "full name" field, right next to a profile picture.

The row of that account under Your Account section in the list of account... is looking weird because it only shown username as a little shaded subheading, but the main text is empty -- it is supposed to be the "full name".

If full name is not specified, use the username as the row's primary (big) text. For example, Application Launcher applet does this: it shows name when available, but falls back to username.

Operating System: Arch Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

I still wonder, what the full name is used for in Linux/KDE world?
Comment 1 ratijas 2021-08-31 17:30:43 UTC
Created attachment 141188 [details]
with name
Comment 2 Bug Janitor Service 2021-09-01 15:51:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/553
Comment 3 Nate Graham 2021-09-01 19:45:20 UTC
Git commit 6d54c27d8fa7a775133b201ee7cb9ac14edc886f by Nate Graham.
Committed on 01/09/2021 at 19:36.
Pushed by ngraham into branch 'master'.

kcms/users: improve UI for the case where no real name is set

Currently the title of the list item is blank, leaving an awkward
subtitle with nothing above it. This commit improves that to use the
username as the title and avoid setting the subtitle at all, in the case
where the user has not provided their real name.
FIXED-IN: 5.23

M  +4    -3    kcms/users/package/contents/ui/main.qml