Doubled up items in Search Results

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Doubled up items in Search Results

Post by jupe »

Since I began using XYplorer I have occasionally noticed items were doubled up in search results, ie. duplicate items, I have never been able to build repro steps, it seemed erratic, but now I have finally managed to, but only in a certain scenario, I have no idea if resolving this will fix those other occurrences, but it's worth a try so I've created a repro script for fresh, which shows the issue 100% of the time, for me at least.

The script will need to be run in a fresh version that has previously been run and therefore already created a tag.dat and Panes subfolder. Of course it should alternatively work in your normal config though too, unless certain config changes have been made.

Code: Select all

  goto <xydata>;
  $itms = "Panes|<xytagdatfile>";
  selectitems $itms;
  goto "+?/flat";
  selectitems $itms;
  #318;
  goto ">>$itms";
  msg "Notice duplicate items?";
It's also possible my script is just flawed and is generating this issue...

highend
Posts: 14991
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Doubled up items in Search Results

Post by highend »

From what I visually see this only happens if you at least use two search terms (and ofc they are in the same root folder)
If three or more are selected doesn't matter beyond that point.
One of my scripts helped you out? Please donate via Paypal

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

Re: Doubled up items in Search Results

Post by admin »

A Branch View over a Search In List. This is a fairly rare situation, but I think I was able to fix it. :cup:

Post Reply