Duplicate-search lists the same file twice

Things you’d like to miss in the future...
Post Reply
dash
Posts: 16
Joined: 01 Mar 2015 11:44

Duplicate-search lists the same file twice

Post by dash »

When searching for duplicates, XYplorer seems to list the same file twice

zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Re: Duplicate-search lists the same file twice

Post 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.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

dash
Posts: 16
Joined: 01 Mar 2015 11:44

Re: Duplicate-search lists the same file twice

Post 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.

m48tx
Posts: 285
Joined: 07 May 2010 18:07

Re: Duplicate-search lists the same file twice

Post by m48tx »

Does ticking "Content" make any difference?

dash
Posts: 16
Joined: 01 Mar 2015 11:44

Re: Duplicate-search lists the same file twice

Post by dash »

m48tx wrote:Does ticking "Content" make any difference?
no

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Duplicate-search lists the same file twice

Post 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.]
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

dash
Posts: 16
Joined: 01 Mar 2015 11:44

Re: Duplicate-search lists the same file twice

Post 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.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Duplicate-search lists the same file twice

Post by bdeshi »

Some setting in your current config is interfering then. Let's see...
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

dash
Posts: 16
Joined: 01 Mar 2015 11:44

Re: Duplicate-search lists the same file twice

Post 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
Last edited by dash on 03 Mar 2015 20:28, edited 1 time in total.

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

Re: Duplicate-search lists the same file twice

Post 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:

Code: Select all

Location: E:\Test;E:\Test

dash
Posts: 16
Joined: 01 Mar 2015 11:44

Re: Duplicate-search lists the same file twice

Post 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...

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

Re: Duplicate-search lists the same file twice

Post 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.

dash
Posts: 16
Joined: 01 Mar 2015 11:44

Re: Duplicate-search lists the same file twice

Post by dash »

Great to hear it!
And thanks for the fast fix. :tup:

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.
Attachments
Search_ F__webm.png
Search_ F__webm.png (52.03 KiB) Viewed 2234 times

Comarre
Posts: 7
Joined: 30 Nov 2015 20:43

Re: Duplicate-search lists the same file twice

Post 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.

Comarre
Posts: 7
Joined: 30 Nov 2015 20:43

Re: Duplicate-search lists the same file twice

Post by Comarre »

Sorry, just to clarify, I took a look at the "Tagged Items" file

Post Reply