Bug 426980

Summary: Switch User sessions aren't being cleaned up entirely
Product: [Plasma] ksmserver Reporter: Stephen Poole <smpoole7>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: minor CC: nate, plasma-bugs
Priority: NOR Keywords: regression
Version: 5.12.8   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Picture of the described behavior after switching user, then logging out

Description Stephen Poole 2020-09-26 03:15:14 UTC
Created attachment 131944 [details]
Picture of the described behavior after switching user, then logging out

SUMMARY

When creating an additional session with KMenu -> Power/Session -> Switch User, when I complete the other user's session and logout, I am returned to my main login desktop (as expected). When I click Power/Session -> Switch User to log in again as a different user, there is an "unused" icon appearing in the choices. If I create additional sessions; logout; and create yet still newer additional sessions and logout; eventually, the "Switch User" screen becomes filled with these "unused" icons. Clicking on "unused" does nothing.

This is new behavior that began occuring in OpenSuse Leap 15.1 (which I use at home), but is still present in Leap 15.2 (which I use at work).

Not a show stopper. After a few "New User" sessions and logouts, I just restart the computer. But since this is new behavior, the only reason I report it is because of the possibility of unreleased system resources/memory leak/etc.


STEPS TO REPRODUCE

1. Using autologin (which I do), go into your main, personal KDE desktop. 
2. Click KMenu -> Power/Session -> Switch User, select New Session, then login as a different user. Do some work, then log out.
3. If you then try to switch users again, there will be an "unused" icon next to the "Switch User" icon.

OBSERVED RESULT
Extra icons each time I switch user, then log out, then attempt to switch again.

EXPECTED RESULT

This only started happening with OpenSuse Leap 15.1; something has changed.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenSuse Leap 15.1
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7

ADDITIONAL INFORMATION

Again, this is not a critical bug, and should not be treated as such. But as I said, there is a possibility that some system resources aren't being released when the additional "new" users are logged out.
Comment 1 Nate Graham 2020-09-26 15:55:52 UTC

*** This bug has been marked as a duplicate of bug 407305 ***
Comment 2 Stephen Poole 2020-09-26 17:03:37 UTC
Ah. Sorry for the duplicate.
Comment 3 Nate Graham 2020-09-26 17:05:23 UTC
No problem. "Number of duplicates" can serve as a useful proxy for "how important is it for us to drop everything and fix this? " :)
Comment 4 Nate Graham 2021-06-21 22:46:15 UTC

*** This bug has been marked as a duplicate of bug 355920 ***