I'm using jEdit for a long time and always have a lot of open files. Once in a while
when the editor or the OS crashes I needed to restore my Untitled- files by hand.
Since the latest jEdit version this isn't necessary any more which is great. But with
this latest version I now lost a file for the second time after a system crash. After
restarting the system and starting jEdit again one of my files is empty. The first
time this happened was about one month ago. I've had crashes before and after that
and considered this a one time exceptional failure which might not be jEdit related.
But now it happened again. With the exact same file. The first one in the list of
all my opened files. And I didn't notice any other program or file being broken on
my system since the previous problem (or even before that). It feels like something
has changed in the way jEdit is saving files which makes it less resilient for system
crashes.
I'm running jEdit 5.5.0 server mode, using Ubuntu java 11.0.4 on Xubuntu within VirtualBox
on Windows. Problems happened when VirtualBox crashed. I wasn't actively using jEdit
at that moment. I'm not sure whether I had saved the file that was empty after opening
jEdit again. It probably wasn't. For another file which also wasn't saved I've received
a message that jEdit would open the changed file and I should check whether my latest
changes are present.
In my settings I have Two-stage save enabled. Max number of backups is 0. I now changed
it to 10. :-)
I think it will be a bit difficult to reproduce. I might give it a try but I don't
have much time at the moment. I wanted to at least report the problem. Maybe the person
who changed something in the way files are saved (as something changed for Untitled-
files) has an idea what might happen in rare situations?
Submitted | jacodg - 2019-11-19 22:02:20.023000 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | |
Status | open | Group | normal bug |
Resolution | None |
2019-11-21 14:11:23.267000 ezust |
For the "another file which also wasn't saved, I received a message that jEit could
open the changed file and you can check..."
|
---|---|
2019-11-21 14:12:04.558000 ezust |
are you reoprting an issue about untitled buffers or buffers that have a proper filename? |
2019-12-07 17:12:31.326000 jacodg |
It's for the buffers that have a proper name. For Untitled buffers things have improved since one of the latest versions of jEdit as jEdit will now reopen de Untitled buffers when starting again after a crash. :) |
2020-02-13 10:25:30.330000 newagner |
I can confirm this. I had an older notebook which randomly crashed.
|
2020-02-13 13:19:32.611000 ezust |
Was 2 stage save disabled for both people who have this problem? |
2020-02-13 14:12:01.081000 newagner |
Hi Alan |
2020-05-31 09:19:18.170000 jacodg |
I also have "Two-stage save" enabled (as I reported in my initial description). Sorry for the late response. |