Bug 446079 - Manually saved session does restore old Kate session and overwrites new one
Summary: Manually saved session does restore old Kate session and overwrites new one
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (other bugs)
Version First Reported In: 5.24.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-25 13:51 UTC by Dominik Kummer
Modified: 2024-05-02 14:04 UTC (History)
1 user (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 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.