Bug 138726

Summary: File saved when application crashes
Product: [Frameworks and Libraries] kdelibs Reporter: Alessandro Garberi <agarberisoft>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED NOT A BUG    
Severity: grave CC: nate, ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alessandro Garberi 2006-12-12 22:53:32 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Some times, when the application crashes, the opened file is saved.
This is good because you do not lose your work, but it has a drawback: if you've just made a mistake and the application crashes, you have a file with the mistake saved!

Example:
- create some classes
- connect them
- save
- modify something (e.g.: you delete a class by mistake)
- "undo" (most simple way to make umbrello crash)
- reload umbrello
- you have lost your deleted class

Not always reproducible (I don't know what make it happen/not happen), but happens often.

Expected behaviour:
- the file should never be saved automatically, but it should be saved in a copy
- when the program is reloaded after a crash, the user should be asked if recover from the copy or use the last save version.
Comment 1 Stefan Monov 2007-02-06 00:26:44 UTC
This should be implemented in all document KDE apps IMHO.
Comment 2 Ralf Habacker 2013-09-02 13:21:07 UTC
As already mentioned by Stefan this is similar to the libre/openoffice recovery dialog, which should be implemented in kdelibs
Comment 3 Andrew Crouthamel 2018-11-10 03:23:54 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-21 04:25:32 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Nate Graham 2019-12-06 19:30:32 UTC
This isn't an actionable bug, I'm afraid. Each app needs to implement this behavior individually. Here's the bug report trakcing it for Kate, for example: Bug 353654.