[Autosave] Don't overwrite XY's data when storage is full
Posted: 16 Nov 2021 06:05
Please, make it so the auto-saving feature ("Save to disk immediately" option) only auto-saves when there is at least the same amount of free space as the size of the current files or let us set a threshold.
My portable instance of XY is stored on an external drive, this often gets full but most of the times that this has happened I have noticed that right away and managed to free space quickly, one of the other times was the last one. Just minutes ago the drive was full and XYplorer auto-save feature tried to save the data files but in the process corrupted them (all the files were 0KB) and informed me that there was an error (an exception I think) about the udc.dat file because of the zero free space (sorry didn't managed to save the error information) and subsequently crashing. And then upon reopening XYplorer said that the tag file was corrupted, and also all the data files were reset to the defaults, all the configuration was lost. Fortunately I had a backup from 15 days ago so I only lost 15 days of file tagging that -also fortunately- wasn't too much and I can recreate the file operations I did so the tags can move (though the renamings are going to be impossible).
This has happened a couple times before, I think I reported something that had to do with this once. But please consider adding this, it is -in my humble opinion- important as user data can get corrupted.
Thanks.
My portable instance of XY is stored on an external drive, this often gets full but most of the times that this has happened I have noticed that right away and managed to free space quickly, one of the other times was the last one. Just minutes ago the drive was full and XYplorer auto-save feature tried to save the data files but in the process corrupted them (all the files were 0KB) and informed me that there was an error (an exception I think) about the udc.dat file because of the zero free space (sorry didn't managed to save the error information) and subsequently crashing. And then upon reopening XYplorer said that the tag file was corrupted, and also all the data files were reset to the defaults, all the configuration was lost. Fortunately I had a backup from 15 days ago so I only lost 15 days of file tagging that -also fortunately- wasn't too much and I can recreate the file operations I did so the tags can move (though the renamings are going to be impossible).
This has happened a couple times before, I think I reported something that had to do with this once. But please consider adding this, it is -in my humble opinion- important as user data can get corrupted.
Thanks.