Suppose that my friend and I are both users of XYplorer, and cooperate on a project, files of which are stored in a folder.
He adds some comments to files within the folder, and sends it to me. I open the folder within XYplorer, but fail to see the comments in the column.
This is not surprising -- the path of the folder on different computers may be different.
If discussions above are imaginary, I do come across actual problems in my daily use. Part of my job is to do experiments in the lab, where I can't use my own laptop. Thanks to the portability of XYplorer, I'm able to run it from the USB stick, though. I use XYplorer to comment the measure documents (*.mdf) the time they are generated, in case that I would forget the details upon departure. Of course, the mdf files are saved on the stick, and the tag storage is set to "relative to the tag database". Back to my desktop I would like to copy the mdf files to my working folder, and the trouble comes -- I lose the comments on my desktop-version XYplorer. Again, the problem is due to different paths.
Similar discussions have been raised before:
viewtopic.php?f=5&t=19249&p=161019&hili ... ge#p161019
And workaround is provided here:
viewtopic.php?f=7&t=8587&p=76510#p76510
and here:
download/file.php?id=11716
However, these workarounds are not official.
Suggestions:
Solution #1 (the least possible at the moment, maybe in future releases):
As has been mentioned by other user, the radical solution is to add support for storing tags locally, within the parent folder of the tagged items. That way, the tags can easily go around with the files. However, even this sounds quite easy at first, lots of debugging and tests may be required before the functionality matures.
Solution #2 (a bit more practical now):
Provide import and export GUI tool for tags and integrate it in official release.
Solution #3 (the most practical, in my own opinion):
Actually, I think this problem can be solved simply (maybe not perfectly) by providing another option for tag database storage: relative to parent folder! That means, if I comment "File1" within "Folder1", an entry like "Folder1\File1 MyComment" will be added to "tag.dat". Whenever I want to import or export tag information, I simply copy and paste these entries from one "tag.dat" to another. The current used global tag storage scheme stays untouched.
This approach is with a potential problem though. That is, there may be two folders both named "Folder1", and both containing the file "File1" on the same disk! However, such circumstances are rare, and they are more likely that one is the backup of the other. In this case, displaying the same comments for files on both sides is proper, because the contents are the same.
Conclusion: please provide an option for storing the tags relative to the parent folder!
XYplorer Beta Club