After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690592 - Root authentication popup prematurely interprets input
Root authentication popup prematurely interprets input
Status: RESOLVED DUPLICATE of bug 692937
Product: gnome-shell
Classification: Core
Component: general
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
Depends on:
Reported: 2012-12-21 02:49 UTC by Kasper
Modified: 2020-11-15 07:10 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Kasper 2012-12-21 02:49:17 UTC
I can replicate it like this:

1. Go to Activities
2. Select an application that needs root (Synaptic, GParted, etc)
3. Press enter to launch and hold it until the root authentication dialog pops up
4. I can start to enter a password (optional)
5. After a few seconds the screen will tell me "that didn't work" and disappear.

This doesn't happen when:
- I use my mouse to start the application from Activities
- I tap enter really quickly, letting go before the dialog pops up (quite hard to accomplish if my computer responds quickly)

It seems the dialog interprets the "enter" press that originates in the Activities view as well. Imho the best solution would be to not allow the dialog to check an empty password (assuming it doesn't pop up on accounts with empty passwords), or to make sure it listens for the act of pressing enter, not having enter pressed.
Comment 1 Kasper 2012-12-21 15:56:24 UTC
More info: specifically, this is the pkexec dialog. Calling "pkexec synaptic" from a terminal gives the exact same results as above.
Comment 3 Rui Matos 2013-04-10 07:51:15 UTC
Sounds like a dupe of bug 692937
Comment 4 André Klapper 2020-11-15 07:10:51 UTC

*** This bug has been marked as a duplicate of bug 692937 ***