gksu can grab keyboard while being under other windows or unfocused

Bug #12640 reported by James Henstridge on 2005-02-08
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
Sebastien Bacher

Bug Description

If I start an administration tool from "desktop -> administration -> foo" and
then start another program while gksu is loading, the gksu window won't have
window manager focus when it appears, and will be underneath the other app.

However, it grabs the keyboard and mouse, so even though it doesn't look like it
has focus it will take keyboard input which is very confusing.

Is there any particular reason for grabbing the keyboard and mouse? If I was
trying to steal the user's password, I'd need to be able to connect to their X
server, in which case I could just display a window identical to the gksu window
to the user rather than logging gksu's input (I could even grab the server ....).

Sebastien Bacher (seb128) wrote :

I think that's a duplicate of #5913, BTW I'll ping the maintainer to know if
there is a good reason to lock the keyboard

This bug has been marked as a duplicate of bug 12297.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.