[Everything] 9.0ß6 Search by mask is broken

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Senyai
Junior Member
Junior Member
Posts: 14
Joined: 2012-03-02, 14:30 UTC

[Everything] 9.0ß6 Search by mask is broken

Post by *Senyai »

With Everything, TC finds no "Find*.cmake" files, and without all files are found.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

That is no bug !

You have to specify *.cmake

If you don't want that use Everything raw syntax with
ev:.cmake
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1050
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Yes, it seems that the "Everything_SetMatchPath" setting fixed one problem but created another.

The dilemma is as follows:
There are two settings for path matching in Everything:
- Search -> Match Path (Ctrl+U)
- General -> Search -> Match path when a search term contains \ ...

TC always sends a path so one of them has to be set. But using wildcards in the middle of a filename negates the desired effect.

Try in Everything e.g:
"c:\windows *.exe"
and
"c:\windows a*.exe"

and toggle the two options to see what I mean.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

ZoSTeR wrote:Yes, it seems that the "Everything_SetMatchPath" setting fixed one problem but created another.

The dilemma is as follows:
There are two settings for path matching in Everything:
- Search -> Match Path (Ctrl+U)
- General -> Search -> Match path when a search term contains \ ...

TC always sends a path so one of them has to be set. But using wildcards in the middle of a filename negates the desired effect.

Try in Everything e.g:
"c:\windows *.exe"
and
"c:\windows a*.exe"

and toggle the two options to see what I mean.
I always have set
General -> Search -> Match path when a search term contains \ ...
Both of your examples working fine in Everything UI.
In TC I have to use the ev: prefix to get correct results.
Thats the reasons why I always use ev: prefix with TC Everything searches.
The whole beauty of Everything searches only comes with ev:
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm that - it doesn't find the string with * in the middle with Everything_SetMatchPath(true).

However, it does find it with Everything_SetMatchPath(false) ! Maybe I misunderstand the meaning of this command? Can anyone help me understand it? For now, I have changed the call to Everything_SetMatchPath(false), because when I call Everything_GetMatchPath() it already returns false here...
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

ghisler(Author) wrote:I can confirm that - it doesn't find the string with * in the middle with Everything_SetMatchPath(true).

However, it does find it with Everything_SetMatchPath(false) ! Maybe I misunderstand the meaning of this command? Can anyone help me understand it? For now, I have changed the call to Everything_SetMatchPath(false), because when I call Everything_GetMatchPath() it already returns false here...
Some extract from the Everything help

Wildcards match the whole filename.
"Disable Match whole filename" when using wildcards to match wilcards anywhere in the filename.

"Match whole filename" when using wildcards
If enabled, using wildcards must match the entire filename.
If disabled, wildcard matches can be found anywhere in the filename.

In my Everything installation I've disabled "Match whole filename" in the options. So both examples from above work.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, but that makes no sense - if I use tot*.exe it will not find totalcmd.exe although I gave the entire name. Maybe they mean the full path+name?

Therefore I'm now calling Everything_SetMatchPath(false) in beta 7, that seems to work. Please try it!
Author of Total Commander
https://www.ghisler.com
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

ghisler(Author) wrote:Hmm, but that makes no sense - if I use tot*.exe it will not find totalcmd.exe although I gave the entire name. Maybe they mean the full path+name?
for me, this works as expected in b6 with above recommended settings.

ev: tot*.exe

finds

c:\Program Files\WINCMD\TOTALCMD.EXE

(besides other findings ofc)


btw, will there be check button instead of ev: once this gets stable? typing this all the time is a bit of a hassle. :?
personally i'd like to have the ev raw as default anyway.
licenced and happy TC user since 1994 (#11xx)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

When using ev: prefix, TC did not call Everything_SetMatchPath at all.
Author of Total Commander
https://www.ghisler.com
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1050
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

I don't get the logic either but for now it seems that you have to instruct the user to set

- General -> Search -> Match path when a search term contains a path separator

to get the expected results. It's enabled by default.

I think this setting first matches the path, so its gone from the file match/pattern. So when you set "Match Path" additionally it will fail.

Overall I think it's just buggy/illogical.
Last edited by ZoSTeR on 2016-07-27, 21:46 UTC, edited 4 times in total.
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

b7 has less results with ev: tot*.exe.

b6 also found this for example:

c:\TotalCommander\8.5\tc851x32_64_rc3.exe


b7 finds 15 files and 42 folders, makes 57 total. same as everything GUI itself.
licenced and happy TC user since 1994 (#11xx)
Senyai
Junior Member
Junior Member
Posts: 14
Joined: 2012-03-02, 14:30 UTC

Post by *Senyai »

Thanks for the fix in B7. "Everything" works as expected for me now.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

B7 is ok for Everything searches but I still prefer to use the ev: prefix.
This makes ist much easier to find all related entries for a search text
and it requires much less typing for most searches.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Post Reply