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 342728 - Too easy to type your password in a window under screensaver
Too easy to type your password in a window under screensaver
Status: RESOLVED FIXED
Product: gnome-screensaver
Classification: Deprecated
Component: dialog
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
: 353120 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-23 18:09 UTC by Máirín Duffy
Modified: 2007-06-27 01:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
patch (28.38 KB, patch)
2006-06-01 22:10 UTC, William Jon McCann
none Details | Review
updated patch (28.42 KB, patch)
2006-06-02 20:10 UTC, William Jon McCann
none Details | Review

Description Máirín Duffy 2006-05-23 18:09:15 UTC
The fading effect in gnome-screensaver, while nice, still shows the password-entry dialog. Today I ended up typing my password into an IRC channel accidentally because when I started typing my password the screensaver went away rather than the password going into the password entry dialog. It is *way* too easy to do this.

A possible solution could be to intercept keypresses after the initial screensaver 'canceling' keypress until the screen has been fully restored.
Comment 1 William Jon McCann 2006-06-01 17:29:35 UTC
We should grab the keyboard to an offscreen window before doing the fade and not do the fade if we can't perform the grab.
Comment 2 William Jon McCann 2006-06-01 22:10:00 UTC
Created attachment 66626 [details] [review]
patch

I've fixed this in HEAD with the attached patch.  Any chance you can test it?
Comment 3 William Jon McCann 2006-06-02 20:10:08 UTC
Created attachment 66668 [details] [review]
updated patch

Updated patch for 2-14.  This is already in HEAD.

Note, these changes also fix the problem where the warning fade-out occurs when playing fullscreen games.  In that case the game grabs the keyboard so the screen can't be locked so we shouldn't do the warning fade at all.
Comment 4 William Jon McCann 2006-07-27 23:21:13 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Comment 5 William Jon McCann 2006-08-29 14:50:26 UTC
*** Bug 353120 has been marked as a duplicate of this bug. ***
Comment 6 renekok 2007-06-27 01:48:38 UTC
I believe there has been a regression, SDL games don't pause the screensaver. So it kicks in after X minutes regardless of what you are doing.

I don't know how to reopen this, but I got this link from the Ubuntu Launchpad link. It contains a bit more info. https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/32457

Please re-open.