Bug 352440

Summary: Do not prevent shutdown if there are unsaved files; instead save them to a temporary location and restore on next launch
Product: [Applications] kate Reporter: Alex Dănilă <alex.danila.web>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: nate, piotr.mierzwinski
Priority: NOR    
Version: 3.14.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Dănilă 2015-09-08 15:07:08 UTC
When pressing shutdown/reboot, Kate will abort system shutdown if there are modified/new files. It should try to cope with the shutdown when feasible.

The way Notepad++ does it is very useful: it keeps some temporaries and at start-up it reloads them all:
- modified appear as unsaved
- never saved appear as new.

This partly breaks KDE session saving, since many programs are already closed by the time I finish with Kate, and restoration will not restore everything.

Reproducible: Always

Steps to Reproduce:
1. Create a new file and type something in in
2. Press Alt+F1 and choose "reboot"
3. Notice that Kate will abord the shutdown process.
Comment 1 Nate Graham 2017-12-06 22:20:06 UTC
*** Bug 385275 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2017-12-06 22:52:56 UTC

*** This bug has been marked as a duplicate of bug 353654 ***