Solved [TC 9.10b3 - TC 10.00] Certain search pattern does not works when 'Everything' is enabled

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Solved [TC 9.10b3 - TC 10.00] Certain search pattern does not works when 'Everything' is enabled

Post by *petermad »

When 'Everything' is enabled in the Find Files dialog, a search pattern like *12.* does NOT work, but it works when 'Everything' is disabled. (both 64bit and 32bit TC)

I went back and tried old TC versions and the pattern does work in TC 9.00 and 9.0a, but it stops working in TC 9.10 beta3.

I cannot see anything in the history for TC 9.10 beta3 that there should have been made any changes for the Search function in that version though.

See also: https://www.ghisler.ch/board/viewtopic.php?p=403797#p403797
Last edited by petermad on 2021-07-08, 20:27 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [TC 9.10b3 - TC 10.00] Certain search pattern does not works when 'Everything is enabled'

Post by *Horst.Epp »

If you make the same search with
ev:*12.*
or
ed:*12.*
you will see that Everything has no problem to find the files.
Also the Everything GUI has no problem with such a wildcard.

You have to disable this under Tools/ Options /Search in Everything:

Code: Select all

[ ] Match whole filename when using wildcards
Then it works in TC with Everything.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 9.10b3 - TC 10.00] Certain search pattern does not works when 'Everything' is enabled

Post by *petermad »

You have to disable this under Tools/ Options /Search in Everything:

[ ] Match whole filename when using wildcards
OK - so no bug in TC, but a configuration issue with 'Everything'.

Problem solved.

Can this 'Everything' feature be overridden? - because if it can, maybe TC should do so when passing the search to 'Everything'
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Re: [TC 9.10b3 - TC 10.00] Certain search pattern does not works when 'Everything' is enabled

Post by *tuska »

petermad wrote: 2021-07-08, 20:27 UTC Can this 'Everything' feature be overridden? - because if it can, maybe TC should do so when passing the search to 'Everything'
In principle, yes, e.g. as follows:

Code: Select all

Everything						Total Commander
[✓] Match whole filename when using wildcards		[✓] 'Everything'
Search for:
*2.*;*4.*;*6.*;*8.*;*0.*;"*12.*"        --> "*12.*"        Why no hits for this?

ev: D: wholefilename:<*2.*|*4.*|*6.*|*8.*|*0.*|*12.*>
ev: D: nowholefilename:<*2.*|*4.*|*6.*|*8.*|*0.*|*12.*>

In my opinion, however, TC should not overrule any setting in Everything, because in many cases this setting is needed.
This is the default setting in Everything(!): [] Match whole filename when using wildcards
Post Reply