Solved [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

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

Moderators: Hacker, Stefan2, white

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

Solved [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

Post by *petermad »

If I in the Find Files dialog search for *|*\ without 'Everything' enabled I get the same result AS when searching for * with "Search in subdirectories" set to "Current dir only" - as expected.

But if I enable 'Everything' I don't get the files in current dir and I only get the some of the folders in current dir - dirs with the same name (without extension) as files in current dir are not found.

If I search for *|test\ I get the same result with and without 'Everything'

If I search for test\* I don't get any results with 'Everything' disabled, but I get all the files in test\ if 'Everything' is enabled.

Is there a chance that search results with and without 'Everything' could be more identical?
Last edited by petermad on 2022-07-06, 15:52 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1020 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43729
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

Post by *ghisler(Author) »

Sorry, it's not possible to get 100% identical results with and without everything because the parameters aren't exactly the same. I don't have any idea what parameters I would have to use to get the exact same results here.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 11864
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Will not be changed [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

Post by *petermad »

OK. This topic can bne moved.
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1020 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43729
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

Post by *ghisler(Author) »

I'm sorry but you were right - I checked the problem in the debugger, and it wasn't in the call to Everything - I was already sending a different call and did the filtering internally. The problem was that the *\ part was matching also the base directory of the search, so it was excluded too. I will fix it. But in general, it's not always possible to get 100% identical results.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 43729
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

Post by *ghisler(Author) »

The first part should be fixed now too in TC 10.50 final, please test it!

The second part (test\*) was due to changes default settings in Everything, so I can't fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 11864
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

Post by *petermad »

history.txt wrote:30.06.22 Fixed: Find files: Searching for *|*\ didn't return the same results with and without "Everything" (32/64)
Confirmed fixed in TC 10.50 final :-)
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1020 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 2967
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Solved [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

Post by *white »

Moderator message from: white » 2022-07-06, 16:01 UTC

Moved to Fixed bugs.
User avatar
petermad
Power Member
Power Member
Posts: 11864
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Solved [TC 150rc3] Different result when searching for *|*\ and other terms with and witout Everything

Post by *petermad »

I think the fix has caused this problem: viewtopic.php?p=417756#p417756
License #524 (1994)
Danish Total Commander Translator
TC 10.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H2) 64bit, 'Everything' 1.4.1.1020 (x64)
TC 3.40b4 on Android 6 & 12
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply