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

princess <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #46 from princess <[email protected]> ---
(In reply to mpeter.68m0y from comment #45)
> Did some tests with the currently newest version on Flathub, and with my
> current old version that is up to date from my distro package manager (for
> comparison to see how things changed).
> 
> Kate 25.04.0, flatpak
> 
> "Settings > Open/Save > Advanced > Swap file mode" is set to "Enabled, Store
> in Default Directory"
> "Settings > Session > Application Startup/Shutdown Behavior > Automatically
> save and restore: Newly-created unsaved files" is ticked
> 
> 
> testing quit normally
> 
> 1. open saved session or save the current one in sessions toolbar
> 2. open 3 new files
> 3. type something into them
> 4. close kate with quit button, or by sending a SIGTERM to it (makes no
> difference)
> 5. reopen kate and load session
> 
> result:
> - ~/.var/app/org.kde.kate/.local/share directory does not exist (and so
> neither a kate session directory in it) while quit
> - ~/.var/app/org.kde.kate/.local/state contains a katestaterc file
> - after session reopen 3 tabs are opened but all of them are empty
> 
> 
> testing quit with SIGKILL (similar to system crash)
> 
> 1. open saved session or save the current one in sessions toolbar
> 2. open 3 new files
> 3. type something into them
> 4. close kate with SIGKILL
> 5. reopen kate and load session
> 
> result:
> - ~/.var/app/org.kde.kate/.local/share directory does not exist (and so
> neither a kate session directory in it) while quit
> - ~/.var/app/org.kde.kate/.local/state contains a katestaterc file
> - after session reopen 3 tabs are opened, all empty
> - 3 utitled files in the Documents panel on the left, without content (all
> activates the existing tabs)
> 
> 
> ---
> 
> 
> Kate 23.08.5, distro package
> 
> "Settings > Open/Save > Advanced > Swap file mode" is set to "Enabled, Store
> in Default Directory"
> "Settings > Session > Application Startup/Shutdown Behavior > Automatically
> save and restore: Newly-created unsaved files" is ticked
> 
> 
> testing quit normally
> 
> 1. open saved session or save the current one in sessions toolbar
> 2. open 3 new files
> 3. type something into them
> 4. close kate with quit button
> 5. reopen kate and load session
> 
> result:
> - ~/.local/share/kate/stash/sessionname/ exists while Kate is quit, with
> files for the unsaved files including their content
> - after sesssion reopen no tabs are opened
> - the former unsaved files are accessible in the left Documents panel, on
> click they are opened with their last content
> 
> 
> testing quit with SIGKILL (similar to system crash)
> 
> 1. open saved session or save the current one in sessions toolbar
> 2. open 3 new files
> 3. type something into them
> 4. close kate with SIGKILL
> 5. reopen kate and load session
> 
> result:
> - no tabs are opened
> - 3 utitled files in the Documents panel on the left, without content
> - ~/.local/share/kate/stash/sessionname/ exists while Kate is quit, but no
> files in there
> 
> 
> ---
> 
> 
> Summary:
> - 23.08.5 kept its state up to date, and remembered that there were untitled
> files. 25.04.0 does that too, but it now opens these files on tabs instead
> of keeping them in the Documents panel
> - 23.08.5 made a backup of the unsaved files when quitting normally (quit
> button, SIGTERM), 25.04.0 does not do that anymore
> - both versions lose the content on SIGKILL

Hello, thank you for your detailed investigation. Downgrading to 23.08.5
appears to be the

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

Reply via email to