Quote:
Originally Posted by Mackx
I have build in a mechanism to save the current (unsaved) file when the DR shutsdown (the DR issues a card unmounted event when it shuts down). Can you check if you have a .xournal_sav.xoj file in the Programs/_xournal folder?
(Although that file should have been loaded automatically the next time you started xournal.)
You might also need to look in other locations (folder were document was located?), the code uses: "g_get_current_dir()", I am not sure what that will result into when xournal is started via the ctb. (I better change the code to a fixed location.)
|
I looked a little better at the code, I have build a mechanism that, on shutdown, writes the file to its original name if that is known, or to a temp file. Maybe if the file is big, there is not enough time to write to flash before the firmware shutsdown. I will change the behaviour, just to be save. Sorry if this caused you a lot of troubles ...