User-switching item is blank if there's no display name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Session Menu |
Fix Committed
|
Medium
|
Charles Kerr | ||
indicator-session (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
There is no user name available in indicator-session for newly created user.
Steps:
1) adduser [username]
2) open indicator-session and switch user
Expected:
Would be able to see the newly created user name in the menu.
Actual:
Only "blank" text is displayed. See screenshot.
<https:/
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: indicator-session 12.10.4-0ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Thu Nov 8 10:08:07 2012
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-10-29 (9 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: indicator-session
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Lars Karlitski (community): Approve
-
Diff: 17 lines (+4/-3)1 file modifiedsrc/session-menu-mgr.c (+4/-3)
Changed in indicator-session (Ubuntu): | |
importance: | Undecided → Low |
description: | updated |
summary: |
- missing user name from "switch user" menu + User-switching item is blank if there's no display name |
Changed in indicator-session: | |
status: | Confirmed → Triaged |
Changed in indicator-session (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in indicator-session: | |
assignee: | nobody → Charles Kerr (charlesk) |
Changed in indicator-session: | |
status: | Triaged → In Progress |
Changed in indicator-session: | |
status: | In Progress → Fix Committed |
Yeah, we should definitely fall back to using UserName if RealName is empty.