Find Files doesn't respect Excluded tab

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".
Post Reply
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Find Files doesn't respect Excluded tab

Post by LittleBiG »

I had an empty Excluded box. I wanted to speed up my search, so I excluded c:\Windows (by browsing). Despite that, my files was searched also in Windows folder. I needed to untick the c:\Windows and tick again to take that into consideration.

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

Re: Find Files doesn't respect Excluded tab

Post by admin »

Works fine here. Are you sure that the Excluded filter was ticked?

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Find Files doesn't respect Excluded tab

Post by LittleBiG »

I am sure and I can repro it even with fresh install.
1. Run fresh;
2. CTRL+F to show Find Files.
3. Name filter: pdf, Location: c:\, and Include subfolders is ticked.
4. Check by running the search (Find now). Windows folder is searched. Ok, stop searching.
5. Go to Excluded tab.
6. Add C:\Windows folder by the browse button. First glitch: the checkbox next to the folder name is unticked. You need to click on the white space to reveal the tick in the checkbox.
7. Check. Windows folder is not searched, ok.
8. Delete the folder from the excluded list. (the Excluded filter remains ticked)
9. Check the search, windows folder is searched, ok.
10. Add the same filter to the Excluded list again. Now the tick next to the C:\Windows appears immediately (no glitch now).
11. Check again, run the search (Find now). Now the Windows folder is searched in spite of the Excluded list. Here is the bug.
12. If you now click on the "Find now" again, the search is working as expected

Additionally, one thing I don't understand. If the Location is C:\Windows and there is C:\Windows in the ecluded list, shouldn't be the search result list empty?

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

Re: Find Files doesn't respect Excluded tab

Post by admin »

Confirmed! And fixed. Interesting, probably been there for a long time.
LittleBiG wrote:Additionally, one thing I don't understand. If the Location is C:\Windows and there is C:\Windows in the ecluded list, shouldn't be the search result list empty?
This is by design. The assumption is that you want to search this folder now since you run a search on it. So why exclude it?

Post Reply