On Wed, 10 Nov 2010 13:56:10 +0100 Milan Babuskov firstname.lastname@example.org wrote:
I just ran into a rather serious Geany bug that can cause file loss.
Incidentally I had the hard disk partition full (on Linux) and Geany was happily reporting that file saving is successful. I had about 20 open files, worth about 2 hours of work. When I was done I saved all the files and closed Geany. Seconds later, I realized that all my files have size of zero bytes. Not only that I lost the recent changes, but complete files. This happen just prior to the commit to Git repository I planned. Obviously, I have nothing to commit. :(
Sorry this happened.
As of this morning Geany should at least now warn the user when files aren't saved. There was a bug that prevented this.
As Columban mentioned, the issue of not overwriting the existing file if saving fails is difficult to fix whilst still maintaining correct file metadata e.g. permissions.