Bug 375941 - Unable to switch users with plasma-workspace-5.9.0
Summary: Unable to switch users with plasma-workspace-5.9.0
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: 5.9.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 09:31 UTC by Jaak Ristioja
Modified: 2017-02-07 09:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.9.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2017-02-03 09:31:41 UTC
Switching from plasma-workspace 5.8.5 to 5.9 I'm unable to switch users. Nothing seems to happen if I click the [Switch] button in ksmserver-switchuser-greeter.
Comment 1 Kai Uwe Broulik 2017-02-03 09:40:28 UTC
It seems the  m_screensaverInterface->Lock(); call in SessionsModel doesn't work for some reason. Thus it never locks the screen and doesn't do anything :/

User switcher applet works fine, however.
Comment 2 Jaak Ristioja 2017-02-03 09:57:10 UTC
I can confirm that the following workarounds help me as the user:

1) Disabling "Lock screen automatically after:" in "System Settings" -> "Desktop Behavior" -> "Screen Locking" makes the [Switch] button work again.

2) Using "Switch user" from the lock screen.

PS: Bah, I hit a segfault when clicking the back button in systemsettings after doing workaround #1.
Comment 3 Kai Uwe Broulik 2017-02-07 09:47:57 UTC
Git commit 8bf479e35834f66cb1ac7b92965526acdf98f555 by Kai Uwe Broulik.
Committed on 07/02/2017 at 09:47.
Pushed by broulik into branch 'Plasma/5.9'.

[User Switcher] Ungrab keyboard before trying to lock the screen

Otherwise it fails to lock the screen and since it waits for the lock screen to show up before switching, it never does it.
FIXED-IN: 5.9.1

Differential Revision: https://phabricator.kde.org/D4470

M  +4    -0    components/sessionsprivate/sessionsmodel.cpp
M  +1    -0    components/sessionsprivate/sessionsmodel.h
M  +7    -0    ksmserver/switchuserdialog.cpp
M  +3    -0    ksmserver/switchuserdialog.h
M  +3    -0    lookandfeel/contents/userswitcher/UserSwitcher.qml

https://commits.kde.org/plasma-workspace/8bf479e35834f66cb1ac7b92965526acdf98f555