Page 1 of 1

Quick Search recursive

Posted: 15 Oct 2019 05:14
by Quaraxkad
I had been using XYplorer Pro 15.20 for years, and just recently decided to see what's new and upgrade. There's one change that I dislike, and that's how Quick Search defaults to recursive mode. I used this feature extensively, and very rarely did I add the /r switch to make it recursive. Initially, QS was my work-around to XY not having a live filter box. So when I saw that a live filter had been added, I assumed that the change in QS default behavior was as a result of that new feature taking over the role of QS. But checking the changelog, I see this default was changed way back in 15.50.0002, which looking back is very likely one of the reasons I never upgraded all these years. In fact, searching the forum for this issue led me to an old thread where I raised the same concern to no conclusion while that version was still in beta.

So now while I'm using the new version, at first I thought it was no big deal, I'll just use the live filter instead. But it turns out that non-recursive quick search and live filtering both have different use cases for me, and neither is a suitable replacement for the other. I thought that I read in the changelog that QS would use the same settings selected in Find Files panel, but checking or unchecking "Include subfolders" has no effect on QS. Now I can't seem to find that mentioned in the changelog anyway, so maybe I misread something.

In any case, I would like to ask that an option be made available to select whether QS defaults to recursive or non-recursive mode.

Re: Quick Search recursive

Posted: 24 Oct 2019 03:25
by Quaraxkad
Does nobody else want this option?

Re: Quick Search recursive

Posted: 02 Nov 2019 09:32
by admin
This is when it happened:

Code: Select all

v15.50.0002 - 2015-07-31 21:05
  *** Quick Search: Now it defaults to include subfolders (aka recurse 
      subfolders). If you don't want recursion you add the switch "/n":
        *.jpg       'include subfolders
        *.jpg /n    'do NOT include subfolders
      The old /r flag is still allowed but has no effect:
        *.jpg /r    'include subfolders
      Before, recursion in Quick Search was controlled by Info Panel | Find 
      Files | Name & Location | Include Subfolders. Now I think it's better for 
      this function to work completely independent of GUI settings. Especially 
      since ALL other settings on this tab are also ignored by it.
I remember that I expected a reaction like yours but not that it would take more than 4 years to happen. Anyway, I will add a tweak to change the default behavior:

Code: Select all

    + Quick Search: Added tweak to make it default to not include subfolders, 
      i.e. to run a non-recursive search.
        FindNameSearchNoRecurse=1

Re: Quick Search recursive

Posted: 03 Nov 2019 10:37
by admin
So, does it work for you? Or anybody? I might even raise it to the GUI...

Re: Quick Search recursive

Posted: 16 Nov 2019 02:26
by Quaraxkad
Sorry for the late reply, the new forum post notification email went to my junkmail folder.
admin wrote: 02 Nov 2019 09:32 I remember that I expected a reaction like yours but not that it would take more than 4 years to happen.
I actually had mentioned it shortly after that beta was released (here), but I guess nobody else cared much about the change!
admin wrote: 02 Nov 2019 09:32 Anyway, I will add a tweak to change the default behavior:
An ini tweak is perfect, thank you!

EDIT: As a side note, the expanded info panel for the quick search dialog no longer lists /r as a switch, although it does still work.

Re: Quick Search recursive

Posted: 16 Nov 2019 17:00
by admin
Quaraxkad wrote: 16 Nov 2019 02:26 EDIT: As a side note, the expanded info panel for the quick search dialog no longer lists /r as a switch, although it does still work.
Secret knowledge you can show off with one day... :)