https://bugs.kde.org/show_bug.cgi?id=470293

            Bug ID: 470293
           Summary: Kate clears sessions upon close
    Classification: Applications
           Product: kate
           Version: 22.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: sessions
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: mrchristopherjac...@gmail.com
  Target Milestone: ---

SUMMARY
If Kate is not closed using "file->quit" from the menu bar, all of the files in
the sessions are cleared and the session is saved as empty, overwriting any
previous session information as well --- that is, all of the "[Document X]"
sections are removed and `Count=0` is written to the [Open Documents] section.
Reproducible in both Windows and Linux/Plasma

STEPS TO REPRODUCE
1. Open some files with Kate.
2. Save session.
2.5. (optional) Check the `.katesession` file for the files you have open and
confirm that they exist.
3. Close application using the "X" button in the title bar.
4. Relaunch Kate, see that the "Session Chooser" lists 0 files, and no files
are opened when the session is selected.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: Windows 10
Linux/KDE Plasma:
  linux 6.2.2.arch1-1
  plasma-framework 5.103.0-1
  plasma-workspace 5.27.2-1
Qt Version: 
  qt5-base 5.15.8+kde+r182-1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to