Bug 432644

Summary: Can't cancel/switch back to user in new session dialog.
Product: [Plasma] plasmashell Reporter: cyslider
Component: Theme - BreezeAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: major CC: mikel5764, nate, plasma-bugs, visual-design
Priority: NOR    
Version First Reported In: 5.20.5   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description cyslider 2021-02-08 14:16:48 UTC
SUMMARY

If you say switch user, you can not return to the user you switched away from (without using key shortcuts).
You can only log in and thereby start a second session which most likely will be corrupt or fail as a KDE session for this user already exists.

STEPS TO REPRODUCE
1. Lock screen of user X
2. Choose: Switch user
2. Press: Start new session
3. Try to get back to the user X' session. 

OBSERVED RESULT

You are only presented with the options to start a new session by logging in. Not the option to switch sessions again. This is especially bad, as it seems like logging into your account will do this, but it starts a new session.

EXPECTED RESULT

Option 1: 
Present "Switch session" button in new session view

Option 2: Preferred
Always show all users to choose from, even on lock screen. If that user has already a session, reuse that session, else start a new one for that user.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.10.7-3-MANJARO
(available in About System)
KDE Plasma Version: 5.20.5 
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-02-08 18:43:14 UTC
> You can only log in and thereby start a second session which most likely will be corrupt
If this happens, then it's a distro or user config bug, because SDDM now defaults to returning you to your existing session rather than starting a new one. Duplicate sessions are pretty janky and don't really work properly. :(
Comment 2 cyslider 2021-02-09 20:42:57 UTC
I found the "ReuseSession" setting in the /etc/sddm.conf [User] section and set it to true. 

Now duplicated sessions are not happening anymore.

But I do get thrown back to the "New session" dialog instead of getting int the running session. So still stuck without using key shortcuts.

Any idea what I can configure? My manjaro is up to date, but it was installed a long time ago. So maybe the config is not up to date.
Comment 3 Nate Graham 2021-02-09 21:44:26 UTC
Hmm, that seems like our fault. Thanks for checking.
Comment 4 Nate Graham 2023-04-27 20:32:52 UTC
This was fixed a while ago.