Bug 72282 - [Wish] Save modified documents upon abnormal termination when possible.
Summary: [Wish] Save modified documents upon abnormal termination when possible.
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 3.0.2
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 88011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-10 02:10 UTC by Sarah
Modified: 2011-08-12 12:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sarah 2004-01-10 02:10:28 UTC
Version:           3.0.0b2 (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
Compiler:          GCC 3.3.1 
OS:          Linux

I accidentally do silly things from time to time (like kill KDevelop in the terminal that I started it from, meaning to send it into the background instead...). Unfortunately, for those little mishaps, and the times when X needs to be restarted NOW for whatever reason, among other things, KDevelop doesn't save the files that it has open and are modified.

Would it be possible to add a handler to automatically save the documents that were open, with possibly another extension (like how pico saves it's documents on an abnormal termination, for example), so that work can be resumed where KDevelop was terminated instead of having to rewrite the code that was being worked on at the time?
Comment 1 Andreas Pakulat 2008-06-29 17:24:31 UTC
Moving to kate, thats where automatic backup should be implemented.
Comment 2 Andreas Pakulat 2008-06-29 20:46:07 UTC
*** Bug 88011 has been marked as a duplicate of this bug. ***
Comment 3 Dominik Haumann 2011-08-12 12:23:13 UTC
We have swap files now, so no data is lost when an application crashes, as it will be recovered. Saving when something goes wrong as you suggests is dangerous, as if it's a programming error, the memory might be corrupted so that your documents might get broken. So close as fixed through swap-file support.