[Bug 278810] [NEW] Doesn't always display suspend / hibernate options (race between g-p-m and f-u-s-a?)

Launchpad Bug Tracker 278810 at bugs.launchpad.net
Thu Feb 17 09:25:18 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Binary package hint: fast-user-switch-applet

Sometimes when I log in, I only see 'Restart' and 'Shutdown' options in
the f-u-s-a. If I remove the applet from the panel and re-add it, then
the 'suspend' and 'hibernate' options magically appear in the drop-down,
in addition to the already existing 'restart' and 'shutdown'.

I suspect that there is a race between gnome-power-manager and the fast-
user-switch-applet. gnome-panel (and f-u-s-a) starts in the 'Panel'
phase of gnome-session, long before gnome-power-manager starts (in the
'Applications' phase).

chr1s at chris-desktop:~$ apt-cache policy fast-user-switch-applet
fast-user-switch-applet:
  Installed: 2.24.0-0ubuntu2
  Candidate: 2.24.0-0ubuntu2
  Version table:
 *** 2.24.0-0ubuntu2 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

***TEST CASE WITH OLD PACKAGE***
1) Kill fast-user-switch-applet and gnome-power-manager.
2) Add fast-user-switch-applet to panel.
3) Open fast-user-switch-applet menu and note missing power options.
4) Run gnome-power-manager.
5) Open fast-user-switch-applet menu and note that some power options are still missing (suspend/hibernate).
6) Kill fast-user-switch-applet and then re-add it to the panel.
7) Open fast-user-switch-applet menu and note that all power options are now available.

***TEST CASE WITH FIXED PACKAGE***
1) Kill fast-user-switch-applet and gnome-power-manager.
2) Add fast-user-switch-applet to panel.
3) Open fast-user-switch-applet menu and note missing power options.
4) Run gnome-power-manager.
5) Open fast-user-switch-applet menu and note that all power options are available.

** Affects: fast-user-switch-applet (Ubuntu)
     Importance: Medium
     Assignee: Ted Gould (ted)
         Status: Fix Released

** Affects: fast-user-switch-applet (Ubuntu Intrepid)
     Importance: Medium
     Assignee: Ted Gould (ted)
         Status: Fix Released

-- 
Doesn't always display suspend / hibernate options (race between g-p-m and f-u-s-a?)
https://bugs.launchpad.net/bugs/278810
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list