Bug 515862 - Make "Hot Exit" default behavior in Kate
Summary: Make "Hot Exit" default behavior in Kate
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: sessions (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-11 09:48 UTC by Albert
Modified: 2026-02-11 09:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert 2026-02-11 09:48:38 UTC
SUMMARY
Kate prompts to save newly created (Untitled) files on exit even when "Automatically save and restore" check boxes ("Newly-created unsaved files" and "Files with unsaved changes") options are enabled. In a modern editor, "Hot Exit" should be a default and seamless experience that restores the workspace, regardless of whether a named session has been manually saved.

STEPS TO REPRODUCE
Go to Settings > Configure Kate > General > Session.
Enable "Load last used session",  enable "Automatically save and restore" check boxes
Create a new document and type some text. Do not save it.
Close the application
OBSERVED RESULT
Kate opens a confirmation dialog asking to Save, Discard, or Cancel. This forces the user to manage temporary data manually and prevents a "Hot Exit" workflow.
EXPECTED RESULT
The application should close immediately. Upon restarting Kate, the "Untitled" document and its contents should be automatically restored exactly as they were, without the user ever being prompted to interact with a save dialog.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2
ADDITIONAL INFORMATION
The current default settings require too much manual setup (creating/saving a default session, checking boxes in "Automatically save and restore" and "Load last used session") to achieve basic hot-exit functionality.