https://bugs.kde.org/show_bug.cgi?id=416137
Bug ID: 416137 Summary: "Close other" option automatically saves session. Unable to restore previous state Product: kate Version: Git Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: application Assignee: kwrite-bugs-n...@kde.org Reporter: kdeb...@insaner.com Target Milestone: --- SUMMARY I mistakenly clicked on the "close other" context menu item on a big project session which closed (many) other open documents, and since there is no "undo" button for the action, I closed the window and tried to relaunch the session again, only to find out it had been automatically saved after the "close other" action. STEPS TO REPRODUCE 1. [Back up the session you wish to test this on] 2. Open session with multiple open files 3. Switch to "tree mode" in "view mode" context menu 4. Right click on a file in a directory with multiple files, and click on "close other" 5. Close the window, without saving the session 6. Relaunch kate with the session OBSERVED RESULT Session has automatically been overwritten with the results of the "Close other" action EXPECTED RESULT No auto-overwriting of session. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Core 30, KDE Frameworks 5.64.0 Qt 5.12.5 (built against 5.12.5) Kate: Version 18.12.2, and git master as of 2020 January 11 ADDITIONAL INFORMATION If we are auto-saving in case of a crash, we should auto-save to a special "autosave" session, not the current session, which otherwise requires manual saving (the expected behavior). If a dev that knows where the fix could go but has no time to fix it themselves wants to point me in the right direction to fixing this, I could try to see if I can do it myself. -- You are receiving this mail because: You are watching all bug changes.