GNOME Bugzilla – Bug 700839
lock screen totally broken after "Log in as a different user"
Last modified: 2013-06-04 06:29:17 UTC
Steps: 1. Log in from GDM 2. Click on the Lock menu item in the user menu 3. Click on the "Log in as a different user" link/button 4. Log with the same user as in 1 5. Click on the Lock menu item in the user menu What should happen: You get the lock screen shield, and the unlock dialog beneath it, functional. What happens right now: You get an empty gray screen instead of the unlock dialog.
Mmh, I can't reproduce that ...
(In reply to comment #1) > Mmh, I can't reproduce that ... This seems to happen because of clock synchronization, so it can only be reproduced on setups that have that working. Could it be the case? What seems to happen is that when "Log in as a different user" is clicked, an animation is started to show the screen shield, but as a new X server is immediately started, that animation is "on hold" because of sync on vblank. Once the user logs again, GDM returns to the first X server, so the animation can complete on the next frame. But before it does, the screen shield is removed. What happens is that the screen shield is effectively removed, but _lockScreenState is SHOWN. This inconsistency causes future calls to _resetLockScreen to bail out early, which renders the lock screen useless.
Created attachment 245050 [details] [review] Stop animations in the screen shield when logging in Otherwise there could be a race when the animation to show the shield is still running when the user authenticates successfully.
*** Bug 701516 has been marked as a duplicate of this bug. ***
Review of attachment 245050 [details] [review]: Thanks for looking into this. It looks like there's a somewhat nicer approach on a different bug so i'm going to mark this one rejected.
*** This bug has been marked as a duplicate of bug 700901 ***
(In reply to comment #5) > Review of attachment 245050 [details] [review]: > > Thanks for looking into this. It looks like there's a somewhat nicer approach > on a different bug so i'm going to mark this one rejected. Don't see that much difference between this and https://bug700901.bugzilla-attachments.gnome.org/attachment.cgi?id=245967 , but ok.