User-switching item is blank if there's no display name

Bug #1076271 reported by Juhapekka Piiroinen on 2012-11-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Session Menu
Fix Committed
Medium
Charles Kerr
indicator-session (Ubuntu)
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://wiki.ubuntu.com/SystemMenu#Account-switching_items>: "Each account item should consist of its account picture and its name — full name if it is present and visibly unique, otherwise login name, either ellipsized to 50 characters if necessary."

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: indicator-session 12.10.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
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

Lars Karlitski (larsu) wrote :

Yeah, we should definitely fall back to using UserName if RealName is empty.

Changed in indicator-session (Ubuntu):
status: New → Confirmed
Changed in indicator-session:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 13.04.0
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
Charles Kerr (charlesk) on 2012-11-15
Changed in indicator-session:
assignee: nobody → Charles Kerr (charlesk)
Charles Kerr (charlesk) on 2012-11-15
Changed in indicator-session:
status: Triaged → In Progress
Changed in indicator-session:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-session - 12.10.5daily13.01.25-0ubuntu1

---------------
indicator-session (12.10.5daily13.01.25-0ubuntu1) raring; urgency=low

  [ Mathieu Trudel-Lapierre ]
  * debian/rules:
    - Add DPKG_GENSYMBOLS_CHECK_LEVEL=4.
    - Use the dh sequencer with autoreconf.
    - Override dh_autoreconf to run autogen.sh.
  * debian/control:
    - Add dh-autoreconf to Build-Depends.
    - Add gnome-common to Build-Depends.
    - Add libgtest-dev, libdbustest1-dev, dbus-test-runner to Build-Depends.
    - Adjust style to be consistent and use trailing commas in lists.
    - Update Vcs-Bzr and Vcs-Browser fields and add notice for uploaders.
    - Remove libpackagekit-glib2-dev and libpolkit-gobject-1-dev
      from Build-Depends. (LP: #1085100)
    - Remove packagekit from Recommends
    - Add XS-Testsuite: autopkgtest.
    - Add libxorg-gtest-dev to Build-Depends.
  * debian/tests:
    - Add start-service test; verify that the indicator can be started from
      DBUS.
    - Add debian/tests/control.
  * Automatic snapshot from revision 373 (bootstrap):
    - Check to make sure that create_display_proxy() succeeded before using the
      proxy pointer that gets returned. (LP: #1078119)
    - Don't lock the session when clicking on the current user. (LP: #1024392)
    - Hide 'start screen saver' action, if it's locked down. (LP: #1066825)
    - Use the same icons in the greeter as in the user session (LP: #1049244)
    - Test upower_proxy for NULL before using it. (LP: #1061844)
  * Move TestCanStartService into a separate make target "localcheck"; so that
    the other tests can successfully run, and this one be used as an
    integration check.
  * debian/control: temporarily comment out the XS-Testsuite entry to disable
    autopkgtest until the tests really work properly.

  [ Sebastien Bacher ]
  * debian/control:
    - clean deprecated Build-Depends on gconf and dbusglib

  [ Didier Roche ]
  * run tests not under fakeroot for dbus tests (which don't seem to be able to
    run easily under dbus-test-runner)

  [ Charles Kerr ]
  * Tests hanging (LP: #1074065)
  * User-switching item is blank if there's no display name (LP:
    #1076271)
  * unnecessary dependencies on polkit and packagekit (LP: #1085100)

  [ Robert Ancell ]
  * Replace dbus-glib with GDBus (LP: #1084756)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 382
 -- Automatic PS uploader <email address hidden> Fri, 25 Jan 2013 02:01:17 +0000

Changed in indicator-session (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers