Apache OpenOffice (AOO) Bugzilla – Issue 63494
"Save Changes" dialog doesn't get focus when "Alt-F4" is pressed
Last modified: 2009-10-21 18:06:25 UTC
1. open a new document of arbitrary kind 2. make some changes, e.g. insert some text 3. press "Alt-F4" => the "Save Changes" dialog appears but doesn't have the focus so it can't be operated via keyboard. This dialog gets the focus when "Alt-Q" or the "window-closer" is used tho Only Linux seems to be affected and here maybe only the combination "Gnome 2.14" with "Metacity"
This issue is present in Gnome 2.16 as well -- at least in Ubuntu Edgy Eft. While it seems minor in general, for users who are blind it's not an ideal behavior. When you press Alt F4 (assuming you have unsaved changes) you expect the dialog in question to appear. Because it does not get focus, screen readers don't announce its presence and the user who is blind might be left wondering what, if anything, occurred as a result of the key being pressed.
target, set keyword accessibility
adjusting target due to limited resources
MT: Fixed in OOo 3.0, and probably much earlier...
closed...
I can still reproduce this issue on Ubuntu 8.10 (w/ metacity) with official Sun OpenOffice.org 3.0.0.
Confirmed in OpenSolaris 2008.11 (dev repo) with Metacity. If I enable Compiz, however, the dialog does gain focus automatically.
OOo 3.2
Note - this might have something to do with Metacity's focus-stealing-prevention code. We wrestled with this in http://bugzilla.gnome.org/show_bug.cgi?id=343897#c12. Comment #12 (which is where the previous link will take you) suggests you call gdk_x11_window_set_user_time to help fix the bug (or at least the bug we were having in Orca).
gdk_x11_window_set_user_time is used in the meantime in the gtk plugin - and that indeed seems to have solved the problem. However lately the kde3 plugin was erroneously used also on gnome desktops. The kde3 and generic plugins did not have a special workaround for metacity, which I now got into them, too. So the gtk plugin as well as the gen and kde plugins show the correct behaviour: the message box gets the focus. fixed in CWS vcl105
please verify in CWS vcl105
Verified in CWS vcl105.
OK in OOO320_m1. Closed.