After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 596151 - Shutdown buttons appear in default button location
Shutdown buttons appear in default button location
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
2.28.x
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-24 05:11 UTC by Robert Ancell
Modified: 2009-10-20 22:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Moves the shutdown buttons from the login window to a menu in the panel (42.41 KB, patch)
2009-09-24 05:55 UTC, Robert Ancell
none Details | Review
Moves the shutdown buttons from the login window to a menu in the panel (42.41 KB, patch)
2009-09-30 00:08 UTC, Robert Ancell
committed Details | Review

Description Robert Ancell 2009-09-24 05:11:29 UTC
Problem:

In GDM 2.28/master on startup the user is presented with a window containing:
- A list of users to log in as with the first user selected
- Two buttons, restart and shutdown, below the user list

Since the first user is selected, users who are unfamiliar/not paying close attention sometimes click on the shutdown button as this is placed where the default action (in this case login) is conventionally placed (the lower right hand corner of the window).  The penalty of making this mistake is for the computer to shut down immediately with no chance of aborting this mistake.

An additional mistake users can make is to miss clicking on their user and then click on the shutdown button (as this button is replaced with the login button after selecting a user).

Recommended behaviour:

Move the shutdown actions (shutdown, sleep, hibernate, restart) to a menu on the GDM panel.

The shutdown buttons do not need to be prominently located as:
- They are used less frequently than the login buttons (normal operation is to shutdown from within your session).
- Most hardware has a dedicated power button that performs the same action
- It is better to have them in a location where they are less likely to be accidentally activated
Comment 1 Robert Ancell 2009-09-24 05:55:29 UTC
Created attachment 143867 [details] [review]
Moves the shutdown buttons from the login window to a menu in the panel
Comment 2 Robert Ancell 2009-09-30 00:08:20 UTC
Created attachment 144319 [details] [review]
Moves the shutdown buttons from the login window to a menu in the panel

Remove spacing so menu is packed into the bottom right.  Note also the GTK+ theme should have the following:
  GtkMenuBar::internal-padding = 0
  GtkMenuBar::shadow-type = GTK_SHADOW_NONE

to ensure clicking the mouse on the bottom right pixel will activate the menu
Comment 3 Ray Strode [halfline] 2009-10-20 22:00:35 UTC
Comment on attachment 144319 [details] [review]
Moves the shutdown buttons from the login window to a menu in the panel

Thanks, this committed now, with a few changes:

https://bugs.gnome.org/596151
Comment 4 Robert Ancell 2009-10-20 22:22:08 UTC
Thanks Ray!