Page 1 of 2

search panel folders subdirectories limit

Posted: 13 Jun 2021 11:49
by giuliastar
Hi
about the search panel , could be added to search inside the sub folders but have an option to select how deep xyplorer should search
for example search only 2 subfolders or deep 4 subfolders ,

would be nice to search for example image files or video files or for a name , but search only for the current folder or 2 subfolders

just like total commander ,have this option in the search panel would be amazing powerful
thanks
Image

Re: search panel folders subdirectories limit

Posted: 13 Jun 2021 12:48
by highend
Just use the /maxdepth= | /md= switch...
{:Image} /md=2

Re: search panel folders subdirectories limit

Posted: 13 Jun 2021 16:00
by giuliastar
highend wrote: 13 Jun 2021 12:48 Just use the /maxdepth= | /md= switch...
{:Image} /md=2
hi
so search for apple current directory
apple /md=0
current and 1 subfolder
apple /md=1

but i guess the developer @admin could add in the gui , would be better !
thanks

Re: search panel folders subdirectories limit

Posted: 15 Jun 2021 08:37
by admin
Well, I did not see much demand for this yet.

Re: search panel folders subdirectories limit

Posted: 15 Jun 2021 08:48
by giuliastar
admin wrote: 15 Jun 2021 08:37 Well, I did not see much demand for this yet.
Hi
well many users switch to tc when they do need it , just google on other forums
but I guess would not be a great problem to add in the search gui , would be a great feature for searching files

think about external hd with tons of folders and subfoders , need times , would be nice add 2 deep folder and search will be even more powerfull
thanks

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 09:41
by admin
well many users switch to tc when they do need it
:) how do you know?

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 09:47
by giuliastar
admin wrote: 16 Jun 2021 09:41
well many users switch to tc when they do need it
:) how do you know?
hi
googling it , lots of forum , many users swtich to tc for some feature xyplorer doesn't have

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 10:01
by admin
I see more people that switch to XY for various good reasons... :)

Anyway, I see that it would be nice to have, but what I don't see is a cute way to add it. I cannot just slap on a dropdown somewhere near the "Include subfolders" checkbox. And I don't want to replace that checkbox by a dropdown that includes "all", "none", and some levels in between. Such things have to be done with much care... needs thinking... open to suggestions...

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 10:19
by Horst
giuliastar wrote: 16 Jun 2021 09:47
admin wrote: 16 Jun 2021 09:41
well many users switch to tc when they do need it
:) how do you know?
hi
googling it , lots of forum , many users swtich to tc for some feature xyplorer doesn't have
I'm a long time TC user and also since a few month I have a XYplorer life-time license.
Each tool has some functions the other one doesn't have at all (native scripting for example)
or the same function in one is better compared to the other (Sync dirs for example).
I'm happily switch between both and use some of the TC functions inside of XY.
Back to the start topic of this thread
most of the time I use Everything search integrated in TC and by Paper folder in XY.
This is by far the simplest way to get search results fast
and it has so many options TC or XY don't have or would be complicated to specify.

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 10:50
by giuliastar
admin wrote: 16 Jun 2021 10:01 I see more people that switch to XY for various good reasons... :)

Anyway, I see that it would be nice to have, but what I don't see is a cute way to add it. I cannot just slap on a dropdown somewhere near the "Include subfolders" checkbox. And I don't want to replace that checkbox by a dropdown that includes "all", "none", and some levels in between. Such things have to be done with much care... needs thinking... open to suggestions...
hi
i got it
the point is that xyplorer is very very powerfull and i guess many feature should be more easy to use , just think about a new user ,he/she need to read very careful the manual ,search in the forum..and find the tons of xyplorer features and only some high end user know
cheers

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 11:34
by highend
The easiest solution would be a very short input field with a tooltip
Depth: <input field>

Tooltip: Enter search level depth (-1 = Full recursion, 0 = No recursion at all, 1 ... <x> = <x> levels deep)

Something like that.

Validate the input. If it isn't a number from -1 to +<x>, reset it to -1

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 11:38
by admin
To replace the "Include subfolders" checkbox? No, I want to keep that. Nothing beats checkboxes. The brain loves binary choices.

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 11:47
by highend
Then place it next to "Include subfolders" and only allow values from 0 to <x>?

Although a 0 should probably ghost / uncheck "Include subfolders" :ninja:

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 11:55
by admin
This would be functionally okay with me, but it's so ugly...

Re: search panel folders subdirectories limit

Posted: 16 Jun 2021 12:10
by Horst
admin wrote: 16 Jun 2021 11:55 This would be functionally okay with me, but it's so ugly...
I find nothing wrong with it compared to the current look.