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 352211 - Save-before-closing dialog has the wrong focus.
Save-before-closing dialog has the wrong focus.
Status: RESOLVED NOTABUG
Product: gedit
Classification: Applications
Component: general
2.14.x
Other All
: Normal trivial
: 2.16.0
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-20 23:02 UTC by Adam Buchbinder
Modified: 2006-08-22 13:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Adam Buchbinder 2006-08-20 23:02:04 UTC
Open gedit. Type some nonsense into the buffer. Type CTRL-Q. The warning dialog will pop up asking if you want to save. Hit tab.

The expected behavior would be to select among the buttons, but the focus moves onto the non-editable text labels (the ones saying "Save the changes to document "Unsaved Document 1" before closing?" and "If you don't save, changes from the last 35 seconds will be permanently lost.") instead. Tabbing should not focus these controls; it should only move between the "Close without Saving", "Cancel" and "Save" buttons.

I am running gedit 2.14.4-0ubuntu1 on Ubuntu Dapper.
Comment 1 Paolo Maggi 2006-08-21 09:40:46 UTC
There should be a duplicate of this bug somewhere on bugzilla.
Comment 2 Paolo Maggi 2006-08-22 10:35:22 UTC
I have a question for the usability guys.

According to HIG 2.0, both primary and secondary text  in an Alert window should be selectable (see http://developer.gnome.org/projects/gup/hig/2.0/windows-alert.html).
Should the focus move onto non-editable text labels when pressing the tab key or should the focus move only between buttons?
Comment 3 Paolo Maggi 2006-08-22 10:46:43 UTC
Note that in standard gtk+ alert dialogs, tabbing focuses also the non-editable labels containing the primary and secondary text.

If the usability guys agree I'm going to close this bug as NOTABUG.
Comment 4 Calum Benson 2006-08-22 11:18:54 UTC
The current behaviour is correct, selectable labels are supposed to be in the regular tab cycle; see discussion in bug #138085.

There's always Shift-Tab or the mnemonics if you desperately need to jump straight to one of the other buttons.
Comment 5 Paolo Maggi 2006-08-22 13:20:42 UTC
Closing as NOTABUG.