Bug 404236 - Session files are not cleaned up
Summary: Session files are not cleaned up
Status: RESOLVED DUPLICATE of bug 408433
Alias: None
Product: ksmserver
Classification: Unmaintained
Component: general (show other bugs)
Version: 5.14.5
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-12 12:34 UTC by Johannes Zarl-Zierl
Modified: 2019-07-18 06:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Zarl-Zierl 2019-02-12 12:34:54 UTC
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
Comment 1 Christoph Feck 2019-03-09 09:22:09 UTC
~/.config/session is empty on my system (openSUSE Krypton).
Comment 2 Johannes Zarl-Zierl 2019-03-09 16:05:41 UTC
I also see the same behaviour on Neon user edition 5.15...
Comment 3 Patrick Silva 2019-04-26 19:52:33 UTC
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
Comment 4 Patrick Silva 2019-07-18 06:37:43 UTC

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