Hi there
Firstly, I love OneCommander. It's by far the best file management software I've ever used.
However, I'm fairly frustrated with the way that Tags are not working properly. I use tags A LOT, to help organise my files and folders. Recently I've found that my tags have started to just disappear - this has been happening for probably a couple of months - can't pinpoint when it started, sorry.
I used to just manually restore the tags.json file from a recent backup, but of course that means that some tag history is lost.
An investigation has highlighted two discoveries.
1. OC seems to have previously automated the backup of the tags.json file but appears to no longer be performing this action. I cannot find anything in settings that would indicate a switch for this behaviour and OC hasn't made any backups of the tags.json file in quite some time.
2. I used to think I had hit some hard limit in terms of how many tags could be stored. I had several thousand. I thought that the tags.json file was getting corrupted with a count limitation as it seemed to be occurring around line 2180 something. But I then used Excel and some VBA to check that all files and folders referenced were still current and I manually removed about 1,000 entries. The issue still occurs.
Currently I have 1094 entries but the corruption happened yet again today as I added a single tag. I've failed to keep a copy, but something happens where OC does not write the full JSON back to disk, and the file is simply truncated halfway through an entry. That means that the last entry is malformed, there is no terminating curly bracket, and when OC or the computer are restarted OC can't read the file and none of the tags appear. I have not yet worked out how many entries are being lost when the file is truncated.
I have also noticed, anecdotally, that when the tags are lost and not displayed in the UI, about 50% of the time the tag.json file is simply no longer on disk at all. Just gone.
Would you please look at what's going on with the tags? From the outside if feels like there's some error occurring, it's not being caught or processed by error handling properly, and the routine just drops.
I'm also keen to understand how to get OC to automate (again) the creation of backups of the tags.json file.
I'll try to capture more information / examples, in the future.
Thanks,
Paul