Page 1 of 1
Duplicate-search lists the same file twice
Posted: 01 Mar 2015 11:59
by dash
When searching for duplicates, XYplorer seems to list the same file twice
Re: Duplicate-search lists the same file twice
Posted: 01 Mar 2015 12:08
by zer0
Do you mean that it lists the path of a given file A twice or that it lists 2 different paths for the same file? A screenshot would be useful here to avoid confusion.
Re: Duplicate-search lists the same file twice
Posted: 01 Mar 2015 12:18
by dash
@zer0
It lists the same file in the same path twice .
It looks like it happens only when searching for dupes in paths with a lot of files.
Re: Duplicate-search lists the same file twice
Posted: 01 Mar 2015 15:32
by m48tx
Does ticking "Content" make any difference?
Re: Duplicate-search lists the same file twice
Posted: 01 Mar 2015 16:40
by dash
m48tx wrote:Does ticking "Content" make any difference?
no
Re: Duplicate-search lists the same file twice
Posted: 01 Mar 2015 16:59
by bdeshi
Does it occur in a fresh XY instance? [Enter ::fresh; in the addressbar. A new XY instance will open. Do that search there.]
Re: Duplicate-search lists the same file twice
Posted: 01 Mar 2015 17:19
by dash
SammaySarkar wrote:Does it occur in a fresh XY instance? [Enter ::fresh; in the addressbar. A new XY instance will open. Do that search there.]
Cant reproduce the problem when using ::fresh, dup-search works as intended with it.
Re: Duplicate-search lists the same file twice
Posted: 01 Mar 2015 17:24
by bdeshi
Some setting in your current config is interfering then. Let's see...
Re: Duplicate-search lists the same file twice
Posted: 01 Mar 2015 17:33
by dash
Well I "fixed" the issue by deleting everything bellow [Find] section right down to [Aliases] section in my config
EDIT: Cause of the "issue" in my post bellow
Re: Duplicate-search lists the same file twice
Posted: 02 Mar 2015 20:41
by admin
I looked into it but did not see it. Let me know if you find the culprit. Thanks!
PS: Or could it be that you inadvertently passed the search location 2 times, like:
Re: Duplicate-search lists the same file twice
Posted: 03 Mar 2015 19:53
by dash
Just tested few things, and the problem was back after I checked "Follow folder links" checkbox on.
Turns out i had shortcuts (*.lnk) to the subdirectories in my root dir.
\rootDIR\
\rootDIR\shortcut to ADir.lnk
\rootDIR\shortcut to BDir.lnk
\rootDIR\xxx\yyy\zzz\ADir\
\rootDIR\xxx\yyy\zzz\Bdir\
So when searching for dups, XYplorer followed those shortcuts and listed the same file twice...
Not sure if this is desired behavior (listing exactly the same file multiple times in the list with dups), since i almost deleted those files, thinking they were dups...
P.S.
When I think about it,
I actually often create windows shortcut-files in root folder to its "deep" subfolder-paths, to be able to quickly jump into them and i know few folks who do the same...
Re: Duplicate-search lists the same file twice
Posted: 03 Mar 2015 20:57
by admin
That's a very good point indeed! I just sat down and wrote something to prevent this kind of double-listings. The next beta should handle it fine.
Re: Duplicate-search lists the same file twice
Posted: 04 Mar 2015 18:47
by dash
Great to hear it!
And thanks for the fast fix.
P.S.:
I've just tested the new Beta, and while *self-dupes* are no longer displayed while searching for duplicates,
standard search will still show the same file multiple times when you have *.lnk-shortcuts in your root and "Follow folder links" option is enabled.
Re: Duplicate-search lists the same file twice
Posted: 26 Aug 2020 23:56
by Comarre
I will post the screen shot info that has been suggested, thank you.
I am doing a tag search, so I took a look at the tag file. There are two entries in the tag file for the same file. Not sure how that would come about, but I think that is why the tag search displays two lines for the same file.
Re: Duplicate-search lists the same file twice
Posted: 26 Aug 2020 23:57
by Comarre
Sorry, just to clarify, I took a look at the "Tagged Items" file