Bug 352440 - Do not prevent shutdown if there are unsaved files; instead save them to a temporary location and restore on next launch
Summary: Do not prevent shutdown if there are unsaved files; instead save them to a te...
Status: RESOLVED DUPLICATE of bug 353654
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 3.14.2
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-08 15:07 UTC by Alex Dănilă
Modified: 2017-12-06 22:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***