Version: (using Devel) OS: Linux Installed from: Compiled sources KDevelop crashes quite often, and I often loose my changes because of this. KDevelop should save the changes of all open modified files when crashing, so that no data is lost. This could be done with signal handlers. When starting, it should present the user with a list of recovered files, with the diff to the file on disk being viewable as well, and ask the user which of them he wants to restore.
(In reply to comment #0) > KDevelop crashes quite often, and I often loose my changes because of this. No it does not. > KDevelop should save the changes of all open modified files when crashing, so > that no data is lost. This could be done with signal handlers. Not necessarily. AFAIK what you can do in a signal handler is rather limited.
There should be some safer security mechanism, like auto-saving temporary files somewhere every x seconds, and if kdevelop crashes, re-open those files to get the contents back
KDevelop does have safety procedures like this in place now.
Thanks, the new mechanism saved me from loosing changes a few times already :)