Bug 1329467 - Suggested username is inconsistent between Anaconda and "Add User" processes
Summary: Suggested username is inconsistent between Anaconda and "Add User" processes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 23
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-22 02:50 UTC by Sam Bristow
Modified: 2016-04-29 17:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-29 17:26:03 UTC
Type: Bug


Attachments (Terms of Use)
Anaconda user-creation (scenario 1) (65.26 KB, image/png)
2016-04-22 02:50 UTC, Sam Bristow
no flags Details
Gnome first-run user-creation (scenario 2) (49.40 KB, image/png)
2016-04-22 02:51 UTC, Sam Bristow
no flags Details
gnome-control-center user-creation screen (screnario 3) (32.52 KB, image/png)
2016-04-22 02:53 UTC, Sam Bristow
no flags Details

Description Sam Bristow 2016-04-22 02:50:26 UTC
Created attachment 1149633 [details]
Anaconda user-creation (scenario 1)

Description of problem:
If the user creates a user during the Anaconda installation the suggested username is of the form: {first_initial}{surname}. If the user instead decides to create a new user during first-run process, or through "Add/Remove users" in the gnome-control-center the suggested username is of the form: {first_name}{surname}

Version-Release number of selected component (if applicable):
anaconda 23.19.10-1
gnome-control-center 3.18.2


How reproducible:
100%

Steps to Reproduce:
# Scenario 1 (screenshot 1)
1. Download and run Fedora 23 installer
2. Create a user by typing "Joe Bloggs" as their full name -> suggested username is "jbloggs"

Scenario 2 (screenshot 2)
1. Download and run Fedora 23 installer
2. *Don't* create a user during the Anaconda steps
3. Restart machine and follow first-start guide
4. Create a user by typing "Joe Bloggs" as their full name -> suggested username is "joebloggs"

Scenario 3 (screenshot 3)
1. Open gnome-control-center
2. Create a user by typing "Joe Bloggs" as their full name -> suggested username is "joebloggs", there is a dropdown menu with 6 alternative suggestions for the Username too

Actual results:
See each of the scenarios

Expected results:
The default suggestion for the different ways of adding a user are consistent.

Additional info:
N/A

Comment 1 Sam Bristow 2016-04-22 02:51:47 UTC
Created attachment 1149634 [details]
Gnome first-run user-creation (scenario 2)

Comment 2 Sam Bristow 2016-04-22 02:53:55 UTC
Created attachment 1149636 [details]
gnome-control-center user-creation screen (screnario 3)

Gnome shell won't let me take a screenshot with the menu open. "jbloggs" is the third option in the dropdown menu though.

Comment 3 David Shea 2016-04-29 17:26:03 UTC
Anaconda and gnome-control-center are different programs that often have different ideas of how to do things. The gnome-control-center username generation algorithm is complicated (so we're not going to copy it) and unavailable as a library (so we can't use it even if we wanted to), and besides, both gnome-control-center and anaconda are generating valid usernames from the full name. So I don't see a problem.


Note You need to log in before you can comment on or make changes to this bug.