Issue 63494 - "Save Changes" dialog doesn't get focus when "Alt-F4" is pressed
Summary: "Save Changes" dialog doesn't get focus when "Alt-F4" is pressed
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.0
Hardware: All Linux, all
: P4 Trivial with 1 vote (vote)
Target Milestone: OOo 3.2
Assignee: stefan.baltzer
QA Contact: issues@framework
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2006-03-22 17:01 UTC by stephan.wunderlich
Modified: 2009-10-21 18:06 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description stephan.wunderlich 2006-03-22 17:01:04 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"
Comment 1 joaniediggs 2006-09-17 22:05:46 UTC
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.
Comment 2 philipp.lohmann 2006-09-18 08:02:46 UTC
target, set keyword accessibility
Comment 3 philipp.lohmann 2007-10-19 14:36:06 UTC
adjusting target due to limited resources
Comment 4 malte_timmermann 2008-11-26 14:45:51 UTC
MT: Fixed in OOo 3.0, and probably much earlier...
Comment 5 malte_timmermann 2008-11-26 14:46:44 UTC
closed...
Comment 6 ccheney 2009-01-17 21:52:50 UTC
I can still reproduce this issue on Ubuntu 8.10 (w/ metacity) with official Sun
OpenOffice.org 3.0.0.
Comment 7 joaniediggs 2009-01-18 22:34:37 UTC
Confirmed in OpenSolaris 2008.11 (dev repo) with Metacity. If I enable Compiz,
however, the dialog does gain focus automatically.
Comment 8 malte_timmermann 2009-03-04 14:25:23 UTC
OOo 3.2
Comment 9 williewalker 2009-03-26 22:47:49 UTC
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).
Comment 10 philipp.lohmann 2009-08-26 19:28:11 UTC
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
Comment 11 philipp.lohmann 2009-09-07 12:37:37 UTC
please verify in CWS vcl105
Comment 12 stefan.baltzer 2009-09-11 09:35:43 UTC
Verified in CWS vcl105.
Comment 13 stefan.baltzer 2009-10-21 18:06:25 UTC
OK in OOO320_m1. Closed.