Save Settings with full drive corrupts config
Posted: 29 Apr 2018 13:41
Recently I downloaded some files to my system drive up to the point where not a single byte of free space was left...
I tried to delete some files through XYplorer but I also had background-processing of delete operations enabled. So this did not work (I think because the queue-file could not be written).
At this point I did not quite get what the cause was and decided to just restart XYplorer. Now the mess begins.
With save-settings-on-exit enabled I got a bunch of errors which I just clicked away...
After the restart XY looked like factory-resetted. Even the lisence was gone. After that I also got strange behaviour like ENTER and BACKSPACE for basic folder navigation did not work anymore. Long story short, ks.dat seems to be also corrupted. I deleted it and got the default behaviour back.
The files in the "AutoBackup" folder where also corrupted (XYplorer.ini had 0 bytes).
Maybe this can be improved in a way that XYplorer checks for enough free space before writing any config-files to disk.
Not having the settings saved would be way better because the last restart (and due to that also the last config state) was at maximum a few days old.
You may claim, that I should have a backup, you are right about this. I found a old config-backup, but that was about a year old, so not really fresh. Of cause a bunch of settings, keyboard-shortcuts, folder-view settings and so on changed over that last year...
Edit:
Using XYplorer 18.90.0100
The download was still ongoing. Maybe this creates some form of race-condition.
I tried to delete some files through XYplorer but I also had background-processing of delete operations enabled. So this did not work (I think because the queue-file could not be written).
At this point I did not quite get what the cause was and decided to just restart XYplorer. Now the mess begins.
With save-settings-on-exit enabled I got a bunch of errors which I just clicked away...
After the restart XY looked like factory-resetted. Even the lisence was gone. After that I also got strange behaviour like ENTER and BACKSPACE for basic folder navigation did not work anymore. Long story short, ks.dat seems to be also corrupted. I deleted it and got the default behaviour back.
The files in the "AutoBackup" folder where also corrupted (XYplorer.ini had 0 bytes).
Maybe this can be improved in a way that XYplorer checks for enough free space before writing any config-files to disk.
Not having the settings saved would be way better because the last restart (and due to that also the last config state) was at maximum a few days old.
You may claim, that I should have a backup, you are right about this. I found a old config-backup, but that was about a year old, so not really fresh. Of cause a bunch of settings, keyboard-shortcuts, folder-view settings and so on changed over that last year...
Edit:
Using XYplorer 18.90.0100
The download was still ongoing. Maybe this creates some form of race-condition.