GNOME Bugzilla – Bug 352211
Save-before-closing dialog has the wrong focus.
Last modified: 2006-08-22 13:20:42 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.
There should be a duplicate of this bug somewhere on bugzilla.
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?
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.
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.
Closing as NOTABUG.