'Edit Orphans' doesn't edit, it adds

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: 'Edit Orphans' doesn't edit, it adds

Post by TheQwerty »

In my steps the save along the way was to handle your case of copying an existing tag.dat. This was easier than editing/overwriting tag.dat and eliminated the possibility of that file being corrupted. I'm not sure it was a necessary step as I think that bug really just relied on the indexing and re-sorting of items.
grindax wrote:I figure that testing on this main XY installation is more effective because if it was solved here where it happens reliably, then it would also be solved in the fresh instance where it happens more sporadically.
It's a good way to find out if any issue still exists but it's hard for anyone else to reproduce and therefore difficult for Don to locate and correct.


Here's some things I'd try to help narrow in on the cause, in no particular order...
  • Always start with a fresh install and your 126-item tag.dat.
  • If the issue appears; try removing your custom labels, but keep all the items by re-labeling them with the defaults.
  • If the issue appears; try removing the network items.
  • If the issue appears; try to whittle your tag.dat down to only the items that cause the issue.
  • If the issue doesn't appear; try configuring the fresh install's Tags pane to match the main one, but do this in pieces.
HTH

grindax

Re: 'Edit Orphans' doesn't edit, it adds

Post by grindax »

.
Last edited by grindax on 23 Jan 2016 15:19, edited 1 time in total.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: 'Edit Orphans' doesn't edit, it adds

Post by TheQwerty »

Confirmed with the following:
  1. Start fresh install of 12.80.0002.
  2. Browse to 'C:\'.
  3. Create 3 new folders:

    Code: Select all

    Folder1
    Folder2
    Folder3
  4. Label 'Folder2' and 'Folder3'.
  5. Label 'Folder1'. (It's important that you do this separately.)
  6. Outside of XY move 'Folder1' into 'Folder2'.

    Code: Select all

    !!mv Folder1 Folder2
  7. Configuration > Tags > Advanced Options > Edit Orphans (All Drives)...
  8. Edit entry to point to 'C:\Folder2\Folder1'.
  9. OK
  10. Advanced Options > Edit Tagged Items..
At this point the list contains:

Code: Select all

C:\Folder1|1|||||
C:\Folder2\Folder1|1|||||
C:\Folder3|1|||||
where it should be:

Code: Select all

C:\Folder2|1|||||
C:\Folder2\Folder1|1|||||
C:\Folder3|1|||||

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

Re: 'Edit Orphans' doesn't edit, it adds

Post by admin »

Wow, these indexed sort orders make the brain spin. :om: So, again I fixed the latest issue (and ensured no regression on the first issue). So, let's see what's coming next...

Thanks for digging up the repro steps, very valuable! :appl:

grindax

Re: 'Edit Orphans' doesn't edit, it adds

Post by grindax »

.
Last edited by grindax on 23 Jan 2016 15:19, edited 1 time in total.

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

Re: 'Edit Orphans' doesn't edit, it adds

Post by admin »

Yep.

grindax

Re: 'Edit Orphans' doesn't edit, it adds

Post by grindax »

.
Last edited by grindax on 23 Jan 2016 15:19, edited 1 time in total.

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

Re: 'Edit Orphans' doesn't edit, it adds

Post by admin »

grindax wrote:I notice if a folder is labelled and you delete its parent folder using XY, then that still creates an orphan. Maybe the orphan avoidance for delete operations should check whether the the tag.dat contains any paths within the (parent) folder you're deleting. Or at least make it clear in the help that XY only knows to delete the tag if the item is directly deleted.

When you edit orphans, the 'Delete' and 'Clear List' buttons are greyed out. Why?

After orphaned tags are deleted by the 'Database Check' function, the line 'Currently x number of items are tagged' is automatically refreshed. But if you delete entries yourself using the Advanced Options button, then this line does not refresh afterwards.
1. Oh yeah, very good, thanks!

2. The logic here cannot handle deletions.

3. Ah yes, thanks!

Wow, a lot of improvements lately in a feature that I thought is perfect! :appl:

Post Reply