critical popup disappears too fast to read

Bug #33411 reported by Paul Sladen
12
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Gnome-power-manager reminds the user when they are at a critical battery level, informing them of what is likely to happen next (eg. sudden power-off) if they don't act.

This message has been expanded in helpfulness and is now 3 lines long. This is impossible to read completely in the 5 seconds that the popup remains on the screen.

 (a) The length of the popup display should be increased;
 (b) The message should be shortened and tersified;
 (c) Preferably both

The message is displayed in:

    http://www.paul.sladen.org/ubuntu/bugs/g-p-m-critical-action-too-short.png

and is:

  The battery is below the critical level and this computer will *power-off* when the battery becomes completely empty.

would this be any better:

  Battery is empty. Computer will *power-off* shortly.

Revision history for this message
Richard Hughes (richard-hughes) wrote :

What version libnotify? libnotify 0.2.x was know to have a bug where the timeout was fixed at a small value, due to a bug in the C++.

Revision history for this message
Paul Sladen (sladen) wrote :

  $ dpkg -l | awk '/^ii.*libnotify/{print $3}'
  0.3.2-0ubuntu3

I haven't look into it, but I presumed the suggested period of time is set by the calling application as some dialogues appear to stay for 60seconds, some for 30seconds... et al.

Revision history for this message
Richard Hughes (richard-hughes) wrote :

How about 30 seconds? Could you do a patch against CVS please, many thanks.

Revision history for this message
Richard Hughes (richard-hughes) wrote :

This is now in CVS:

2006-03-03 Richard Hughes <email address hidden>
 * src/gpm-tray-icon.c (libnotify_event, gpm_tray_icon_notify): set the timeout parameter unit to be seconds, so we can still work with the old (ms) and new (s) libnotify versions.
 * src/gpm-manager.c: convert all the users of gpm_tray_icon_notify to send timeouts in seconds, and also define the defines GPM_NOTIFY_TIMEOUT_LONG (20 seconds) and GPM_NOTIFY_TIMEOUT_SHORT (5 seconds) so we can change the values to a sensible default in one place only.

Richard.

Revision history for this message
Matt Zimmerman (mdz) wrote :

It seems likely that the fix in CVS is now in Dapper, please confirm

Changed in gnome-power-manager:
assignee: nobody → dsilvers
status: Unconfirmed → Fix Committed
Changed in gnome-power-manager:
assignee: dsilvers → nobody
Revision history for this message
Sebastien Bacher (seb128) wrote :

marking as fixed, new version should have that change. Feel free to reopen if that's not the case

Changed in gnome-power-manager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.