Bug 446079

Summary: Manually saved session does restore old Kate session and overwrites new one
Product: [Plasma] plasmashell Reporter: Dominik Kummer <admin>
Component: Session ManagementAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dominik Kummer 2021-11-25 13:51:23 UTC
I manually saved a plasma session with Kate open months ago. Meanwhile I updated kate sessions several times. Now after package updates I rebooted the machine and logged in. The manually saved session was restored successfully, but the kate session with the same name did restore the months old state, and also did overwrite my new kate session state. Which is basically just a horrible morning experience, especially if kate session states act as an essential brain memory aid.

STEPS TO REPRODUCE
1. save a kate session with specific name
2. save a plasma session manually
3. add changes to the kate session and save with same name
4. restore plasma session
5. see the kate session set back to initial state
6. new kate session lost

OBSERVED RESULT
New kate sessions with specific name are lost after restoration of manually save plasma session.

EXPECTED RESULT
New kate sessions restore by kate session name, not by plasma session state.