SUMMARY On my system, files in ~/.config/session are not cleaned up and just accumulate. I noticed this yesterday with around 3500 files in the directory, some dating back several years. To make sure this is not just an old bug, I logged out and back in again, and sure enough the session files from the previous session are still there. STEPS TO REPRODUCE 1. Log into plasma 2. Have some applications running on logout (so that there is a session to restore) 3. Log out 4. Log back in OBSERVED RESULT Files in ~/config/session that are not referenced by discardCommand lines in ~/.config/ksmserverrc EXPECTED RESULT No stale files. ADDITIONAL INFORMATION $ ksmserver --version ksmserver 0.4
~/.config/session is empty on my system (openSUSE Krypton).
I also see the same behaviour on Neon user edition 5.15...
Same thing on my system. Operating System: Arch Linux KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.57.0 Qt Version: 5.12.3
*** This bug has been marked as a duplicate of bug 408433 ***