https://bugzilla.novell.com/show_bug.cgi?id=384159
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=384159#c6
--- Comment #6 from Federico Mena Quintero 2008-05-05 13:06:44 MST ---
From the ChangeLog (grrrr, the merge to Subversion lost this; I wish we were
using git):
commit f93f1c03534fd8e72c354e9f6f91c4270f39a045
Author: David Zeuthen
Date: Mon Oct 15 21:25:20 2007 -0400
do grab the keyboard anyway
After some more testing, it appears to work with Orca. At least when
Orca doesn't fail to work...
src/polkit-gnome-manager.c | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
commit 37377d244ea6d3d3d46972dc9e948c3e88a4f98b
Author: David Zeuthen
Date: Mon Oct 15 18:07:11 2007 -0400
don't grab the X keyboard; only grab the X pointer
There's a couple of reasons for this; first, grabbing the keyboard
breaks accessibility; try for yourself or see some horrible workaround
that Orca built into their application (and, sigh, they don't even
bother testing for whether gksu is installed anyway);
http://live.gnome.org/Orca/ConfigurationGui#head-eed11f78d766f588c85a5b4fd69...
Second, it's sufficient for our purposes (to keep focus on our
password dialog) to just grab the pointer
Third, "XGrabKeyboard is not a security interface"
http://seclists.org/fulldisclosure/2005/May/0676.html
And, sure, try xspy.c to see that even with the keyboard grabbed we
can still get key strokes. There's a couple of mails flying around the
net saying the XSECURITY extension should fix this; it doesn't appear
gnome-screensaver is using this (probably it doesn't want to break
a11y either?) and also some other comments that even XSECURITY is not
adequate.
Bottom line is that we probably want to wait until XACE is in...
src/polkit-gnome-manager.c | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
commit 19ac8b3d6e7ba19ddf062a0f18c4542741d1dfc2
Author: David Zeuthen
Date: Fri Oct 12 23:33:44 2007 -0400
grab the pointer and keyboard when showing an auth dialog
src/polkit-gnome-manager.c | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.