does not backup unsaved work
|Reported by:||daxim||Owned by:|
- Run padre and create a new document.
- Work some minutes on it.
- Crash the app, or the X server. (Can be simulated by running xkill and clicking the window, or pressing Ctrl+Alt+Backspace twice.)
- Restart padre.
What should happen:
Restores my work.
What actually happens:
Unsaved work is irretrievably gone.
So one conclusion to draw from this is that developers of document-based applications should protect users from themselves. Your work should be saved even if your document is not. Separate the management of items in the file system from the idea that what you’ve typed or drawn or edited should be “safe”. BBEdit 9 has a good implementation of such a feature. Once a minute, it silently and invisibly stores a copy of every open document window. If BBEdit crashes or otherwise exits abnormally (like, say, if the entire system goes down), when next you launch BBEdit, it restores your work to the last auto-saved state. The worst case scenario is that you lose 59 seconds of work.
tl;dr: Backup all the work everytime the app is idle, or when the window is minimised, but at least once every minute.