Red Hat Bugzilla – Bug 85803
Keyboard accelerators don't work in gedit exit dialog
Last modified: 2007-04-18 12:51:54 EDT
Description of problem:
When exiting gedit while an unsaved document is opened, a dialog
appears to ask the user if the changes should be saved. There
are three buttons in this dialog: Don't save, Cancel and Save.
They all have an underscore under a letter that should act as
the keyboard accelerator: n, C, and S respectively. However,
pressing those keys does nothing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open a new document and type 'x' in it.
2. Ctrl-Q to quit -- this should display the dialog.
3. Try to say "Don't save" by typing 'n' -- make sure that
the focus is on the dialog.
gedit should quit without saving.
You have to type "Alt+n" not just "n"
The GNOME keynav plans suggest only "n" in the case where there aren't editable
widgets in the dialog, but gtk doesn't implement that yet. Not sure if
this bug already exists on bugzilla.gnome.org, that's where it should be tracked.