Enter key pressed to launch pkexec triggers submission of empty password

Bug #1166288 reported by Tony Maro
This bug affects 1 person
Affects Status Importance Assigned to Milestone
policykit-gnome (Ubuntu)

Bug Description

This wasn't a problem for me until I installed Quantal on my box. It's taken me months to figure out the root cause. I use LDAP for group authentication and assumed it was a related issue.

Using Gnome-shell OR the command line to launch an app that uses pkexec has a high percentage chance of submitting the password dialog before I can type anything into it.

To reproduce from the command line:

 pkexec echo "1"

Press and hold the enter button down for a half second to submit that line. The pkexec password dialog appears and after it's manual delay for a bad password displays "Sorry, that didn't work".

On a machine as fast as mine, I have to be EXTREMELY careful to super-quick tap enter to get it to not also submit the password dialog. Even then, there's a good chance it will still grab the enter key to submit the dialog. On slower machines it seems to be less of an issue.

To reproduce from the Gnome shell:

 Open the panel, type in "synap" and hit enter, holding the key for a bit longer than usual to launch Synaptic.

Revision history for this message
Tony Maro (tonymaro) wrote :

This appears to be fixed in Ringtail.

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

Other bug subscribers