Bug 2237846

Summary: gdm login screen doesn't show user's display name if it's longer than 25 characters
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: gnome-shellAssignee: GNOME SIG Unassigned <gnome-sig>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: adscvr, fmuellner, gnome-sig, jadahl, mclasen, otaylor, philip.wyett, rstrode
Target Milestone: ---Keywords: AutomationTriaged, Desktop
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-07 17:59:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dominik 'Rathann' Mierzejewski 2023-09-07 09:50:47 UTC
gdm displays only user logins instead of their Names for any users who have a hyphen in their Name.


Reproducible: Always

Steps to Reproduce:
1. Launch GNOME Control Center Users tab (gnome-control-center users)
2. Put something with a hyphen (-) in your Name (e.g. John Foo-Bar)
3. Log out and see the list of users at the login screen

Actual Results:  
Any name with a hyphen (e.g. John Foo-Bar) is not displayed. Instead only login name is displayed

Expected Results:  
All names, including those with hyphens and other special characters should be displayed.

gdm-44.1-1.fc38.x86_64

Comment 1 Dominik 'Rathann' Mierzejewski 2023-09-07 10:30:45 UTC
To avoid confusion:
user login = username (i.e. what you type to log in)
user Name = user display name (descriptive text about user, usually their name, a.k.a. GECOS field)

Comment 2 Dominik 'Rathann' Mierzejewski 2023-09-07 11:05:42 UTC
So the actual issue is not with the hyphen or special characters
but the length of the display name.

Thanks to @fmuellner for informing me of that "feature".

Comment 3 Dominik 'Rathann' Mierzejewski 2023-09-07 11:08:18 UTC
The user display name that I saw this bug with has 29 characters, so please try reproducing with something like:
Abbey Westington-Cloverfield

Comment 4 Dominik 'Rathann' Mierzejewski 2023-09-13 07:58:32 UTC
This was moved to gnome-shell upstream so moving in Fedora as well.

Comment 5 Fedora Admin user for bugzilla script actions 2023-12-06 08:24:53 UTC
This component is maintained by the GNOME project. Issues with it should be reported directly to GNOME at https://gitlab.gnome.org/GNOME/.

This issue should only be kept open if it:

1. Relates to Fedora packaging or integration with other Fedora components
2. Is required for Fedora release processes, such as blocker bugs and freeze exceptions

If this issue isn't needed for either of these two reasons, please:

 * create an issue with GNOME
 * add a link to the GNOME issue here
 * close this issue as CLOSED/UPSTREAM

Thank you!