GNOME Bugzilla – Bug 684459
Session not locked when switching user via user Menu
Last modified: 2012-10-07 08:06:31 UTC
When switching users the lock screen is not activated. I can switch between the different users VT's without any screenshield/lock appearing on any of them. Steps to reproduce 1. Click Switch User in the User Menu 2. Login as a different user 3. Ctl-Alt F7 and get back to an unlocked session of the first users session. This is with gnome-shell + gdm 3.5.92
I do get a screenshield, but it is buggy as well. Here is what is happening for me: 1. Select 'switch user from the user menu' 2. Get to the login screen 3. Select my old session again 4. Come back to the screen shield. The user menu is open on top of the screen shield, on the left side where my name is in the panel.
trying to reproduce, the unlock is generally working. I do see the shield for a bit after coming back, because of vt switching blocking gl, I guess. So that part is somewhat unfixable. It is a bug though that the user menu shows up on top of the shield, at the left. Can we make it so that we unmap the menu before vt switching ? A proposal to make things look less assy, by Ray: - lift the shield properly on Unlock, don't just pop it out of existence - drop the shield before vt switching on the login screen This could also fix the 'default background shows through issue that we have with normal login.
(In reply to comment #2) > trying to reproduce, the unlock is generally working. I do see the shield for a > bit after coming back, because of vt switching blocking gl, I guess. So that > part is somewhat unfixable. > > It is a bug though that the user menu shows up on top of the shield, at the > left. > Can we make it so that we unmap the menu before vt switching ? Florian should have fixed that bug. https://bugzilla.gnome.org/show_bug.cgi?id=684343
(In reply to comment #3) > > It is a bug though that the user menu shows up on top of the shield, at the > > left. > > Can we make it so that we unmap the menu before vt switching ? > > Florian should have fixed that bug. > > https://bugzilla.gnome.org/show_bug.cgi?id=684343 Nope. The fix should be pretty much identical though.
Created attachment 224862 [details] [review] userMenu: Close menu immediately on user/session switch The same reasoning as for commit 1f30670c1d8d8 also applies to VT switches.
Review of attachment 224862 [details] [review]: Obviously right.
Except in my case the screenShield is never activated on user switch.
It is addressing the issue Matthias noted in comment #1. What's happening in your case needs more investigation.
Do you want to go for a freeze break for this ? The lock screen being a shiny new feature, people are probably going to play with it in .0, and discover this kind of oddity...
(In reply to comment #9) > Do you want to go for a freeze break for this ? > The lock screen being a shiny new feature, people are probably going to play > with it in .0, and discover this kind of oddity... I'd say yes.
I'll give my +1 here, and ask for the second on the list.
fredp gave the second +1 on the list, go ahead.
Comment on attachment 224862 [details] [review] userMenu: Close menu immediately on user/session switch Attachment 224862 [details] pushed as 3429fc3 - userMenu: Close menu immediately on user/session switch Leaving bug open, as the patch does not address the originally reported problem (though so far nobody has been able to reproduce it).
Seems to be fixed, probably from the fix in https://bugzilla.gnome.org/show_bug.cgi?id=685536