How do i prevent tags/comments lost?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
stanmarsh
Posts: 85
Joined: 10 Mar 2009 07:43

How do i prevent tags/comments lost?

Post by stanmarsh »

hello again,

i tried using comments and sometimes the new comments just dont stick to the file/folder, say, i comment a "folder" in c:\ with "hello", when i moved "folder" to new folder (c:\newfolder) give it a new comment "world", then i transfer back "folder" in c:\ the comment would use "hello" instead of "world". its not really a big problem unless i move files often.

hope im clear with my situation.

another thing is i checked the tag.dat file and it uses drive letters for comments, can the drive letter be changed to a variable = ?, so that comments on usb wont get lost if the drive letter automatically change.

thanks

phatmankerr
Posts: 186
Joined: 26 Dec 2005 19:35

Re: How do i prevent tags/comments lost?

Post by phatmankerr »

Stan,

As you have noticed comments and tags are based on fixed paths, so if you start moving files around, comments and tags are lost.

I think when Don gets a bit of time he may look at this.

Your suggestion about relative paths should work and would be useful for me as well as i use the same external drive which gets assigned a new drive letter all over the place, but it would also then mean some sort of conflicts resolution to cope with a mixture of relative and absolute paths (e.g. the same file has two different comments - one relative and one absolute).

Don is in the middle of sorting out Dual Pane at the moment so don't expect a quick fix on this - sorry :cry:

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: How do i prevent tags/comments lost?

Post by jacky »

stanmarsh wrote:i tried using comments and sometimes the new comments just dont stick to the file/folder, say, i comment a "folder" in c:\ with "hello", when i moved "folder" to new folder (c:\newfolder) give it a new comment "world", then i transfer back "folder" in c:\ the comment would use "hello" instead of "world". its not really a big problem unless i move files often.
Do you move your folders from within XY ?? If so, that would be a bug, moving a tagged/commented item within XY should have said tag/comment move along.

If it happens outside of XY however, that's just how it works. When the folder moves away XY doesn't know it moved, and just has a broken reference, e.g. a comment for a item that doesn't exists anymore. And when it comes back, the old "broken reference" starts working again...
Proud XYplorer Fanatic

stanmarsh
Posts: 85
Joined: 10 Mar 2009 07:43

Re: How do i prevent tags/comments lost?

Post by stanmarsh »

thanks jacky, that makes more sense, i was using windows explorer to move the file, i tried it out moving files in xyplorer and its working nicely. :D

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How do i prevent tags/comments lost?

Post by admin »

phatmankerr wrote:As you have noticed comments and tags are based on fixed paths, so if you start moving files around, comments and tags are lost.
Not true. As long as you use XY to move or rename files and folders, the tags and comments are preserved.

calude
Posts: 355
Joined: 13 Aug 2008 10:16
Location: Switzerland
Contact:

Re: How do i prevent tags/comments lost?

Post by calude »

HI

I just lost 15 comments by renaming in xy (rename special Aaaaa Aa.*)
although Admin wrote
Not true. As long as you use XY to move or rename files and folders, the tags and comments are preserved.
spaces to _ kept the comments

8.10.0010

Calude

ps: "Add" clipboard to existing comment would be a nice addition.

admin
Site Admin
Posts: 66312
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How do i prevent tags/comments lost?

Post by admin »

calude wrote:HI

I just lost 15 comments by renaming in xy (rename special Aaaaa Aa.*)
although Admin wrote
Not true. As long as you use XY to move or rename files and folders, the tags and comments are preserved.
spaces to _ kept the comments

8.10.0010

Calude

ps: "Add" clipboard to existing comment would be a nice addition.
Confirmed! Sorry about the loss. In fact any sort of "re-capitalization" did have that effect, even inline rename. Fixed.

PS: note that your lost comments data should still exist in tag.dat as orphaned entries (if they ever have been saved to tag.dat). You can revive them by undoing the rename.

Add: just append or in new line? Not sure of this of general use. Others?

Post Reply