Red Hat Bugzilla – Bug 80634
usermode-gtk keyboard focus problem
Last modified: 2013-07-02 18:57:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218
Description of problem:
If you are non-root and run a system application, usermode-gtk "Query" dialog
pops up. It grabs keyboard focus from anything else on the screen. This can be
confusing to end-users if they accidentally pop a window in front of this query
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run anything that needs usermode-gtk /usr/sbin/userhelper
2. Accidentally pop any window in front of this dialog
3. Attempt to type
I'd say consolehelper-gtk grabs more than that. While it's on screen you can't
type anything in gnome-terminal and nothing happens if you click on the GNOME
(aka Red Hat) menu, etc.
Feels more severe than "low" to me.
The consolehelper binary grabs input to keep users from accidentally
typing their passwords into windows which pop up (the scenario as it
was described to me was "window pops up, user looks down at keyboard
and starts typing, looks up and finds the password has gone somewhere
else"). I don't know that it's possible to reconcile these concerns.
I think I have seen other operating systems make a window "Always on
Top" in order to avoid issues like this. Would it be possible (or a
good thing) to make the password window so you can't unfocus it
without clicking Cancel or closing it?
I agree that modal would be nice. But not as essential as making it 'Always on
top' (which doesn't imply modal). With the new focus behaviour, the query box
can end up below all other windows. Very confusing to type stuff without any
Created attachment 121651 [details]
stay on top patch
Patch implementing said feature. Please review.
Pierre, thanks for the patch. It's now applied.