| Summary: | Make "Hot Exit" default behavior in Kate | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Albert <mkhalbert> |
| Component: | sessions | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
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.