Bug 72282

Summary: [Wish] Save modified documents upon abnormal termination when possible.
Product: [Applications] kate Reporter: Sarah <sarah>
Component: partAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist CC: alexander.kuchler
Priority: NOR    
Version: 3.0.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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.