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 788169 - Login screen can't unlock by keyboard
Login screen can't unlock by keyboard
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: login-screen
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: Ray Strode [halfline]
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-26 08:19 UTC by xiaoguang wang
Modified: 2021-07-05 14:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Avoid loginDialog grab focus when locked (885 bytes, patch)
2017-09-26 09:00 UTC, xiaoguang wang
none Details | Review

Description xiaoguang wang 2017-09-26 08:19:09 UTC
Reproduce process:

1. Create multi users on system.
2. Log in system as one user.
3. Wait more than 5 minutes(default idle time is 5 minutes).
4. Switch user. Click right side of top bar->user->Switch User
5. See lock screen, pressing ESC or ENTER key can't unlock it. If you use mouse to drag screen, you can unlock screen.

Expect: Using keyboard can unlock login screen.
Comment 1 xiaoguang wang 2017-09-26 08:46:26 UTC
We can't unlock login screen, because window focus is not on screen shield, focus is on login dialog, screen shield can't receive keyboard message, so keyboard can't unlock login dialog.

When switch user, system will switch TTY, at this time, screen shield don't get focus, login dialog get focus.
Comment 2 xiaoguang wang 2017-09-26 09:00:15 UTC
Created attachment 360413 [details] [review]
Avoid loginDialog grab focus when locked
Comment 3 Frederic Crozat 2017-10-09 10:56:10 UTC
FYI, this bug was discovered by openQA and proposed patch is verified to fix the issue in openQA.
Comment 4 Ray Strode [halfline] 2017-10-09 13:56:45 UTC
Review of attachment 360413 [details] [review]:

This is probably fine, but I do wonder… why are we resetting the login screen before the screenshield is activated ?  shouldn't we only be reseting it after the user hits a key or initiates a drag? I just wonder if a better fix is to make sure the authPrompt (and pam conversations?) aren't getting run unnecessarily.
Comment 5 GNOME Infrastructure Team 2021-07-05 14:34:40 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.