Page 1 of 1

Connected drive's tagged items not showing in List. Appear as orphans in database.

Posted: 12 Jan 2017 16:08
by Jerry
Something bizarre is happening with my tags database. I have switched to using volume serials some time ago. This morning, I reconnected just a few of my drives to the computer directly instead of via the powered hubs in order to carry out some big transfers of tagged items from one drive to another. (Sometimes large transfers like this run into problems via the hubs.) But all the tagged items on the source drive were now gone, at least visually in the file list. I went into Edit Tagged Items and saw that all these items had become orphans. Moreover, they were appearing in Edit Tagged Items with the drive's volume serial number instead of the drive letter. I thought that the serials always got translated back to letters inside XYplorer. In any case, the actual drive letter had not changed.

My XYplorer version was 17.40.0105. So I installed the latest version, 17.40.0205 and restarted XY. Now I could see the tagged items in the list again and started the transfer. Meanwhile, I connected another drive directly to another port for the same purpose, and once again the tags on that drive were missing in the list, the items showing up as orphans and with the serial number instead of the drive letter.

What is going on? How to fix this properly?

Re: Connected drive's tagged items not showing in List. Appear as orphans in database.

Posted: 12 Jan 2017 19:50
by Jerry
UPDATE: This problem keeps happening even after reboot, disconnect and reconnect of the drives. But it seems that I can get the tags back if I just restart XYplorer. But why is this happening? Is anybody else using volume serials in the tags database and seeing tags remain orphaned even when the drive is connected with obviously, no change in volume serial number, or drive letter? Thank goodness the tags are still there, just orphaned.

Re: Connected drive's tagged items not showing in List. Appear as orphans in database.

Posted: 14 Jan 2017 15:22
by admin
Looks like you discovered a drawback or the drive serials storage method.

1) If the drive is not found on XY startup, the serial cannot be resolved to a drive letter.
2) If the drive is not found on XY exit, the drive letter cannot be resolved to a serial.

I'll check what I can do...

Re: Connected drive's tagged items not showing in List. Appear as orphans in database.

Posted: 14 Jan 2017 15:37
by Jerry
admin wrote:1) If the drive is not found on XY startup, the serial cannot be resolved to a drive letter.
2) If the drive is not found on XY exit, the drive letter cannot be resolved to a serial.
Yes, I realized #1 had to occur. And ahh, #2 must be happening because I often safely disconnect drives, even with XYplorer still up. So, I guess when XY exits in #2, it just leaves the drive letter, but then when at some later time I start up XY and reconnect the drive, it doesn't see the serial number in the database and leaves the tags orphaned.

Re: Connected drive's tagged items not showing in List. Appear as orphans in database.

Posted: 14 Jan 2017 15:58
by admin
Well, I think I could handle both situations. :cup:

But, of course, this relies on the Windows notification system. As long as Windows tells XY that a drive is added or removed your issues should be gone in the next beta.

Re: Connected drive's tagged items not showing in List. Appear as orphans in database.

Posted: 14 Jan 2017 16:06
by Jerry
admin wrote:But, of course, this relies on the Windows notification system. As long as Windows tells XY that a drive is added or removed your issues should be gone in the next beta.
Great. I should hope Windows does that reliably. A lot of times, I cannot safely remove a drive because the OS retains some administrative handles open on it, which I don't know know how to release. But before I detect that (with Sysinternals Process Explorer) I always first close down XY. I never unsafely disconnect a drive while XY is up.