TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list

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

Moderators: sheep, Hacker, Stefan2, white

Post Reply
billly
New Member
New Member
Posts: 1
Joined: 2020-03-03, 14:45 UTC

TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list

Post by *billly »

Here is a problem in TC 9.51 RC3 that is easy to recreate:

1) Have a folder c:\folder with subfolders sub1, sub2.
2) In the subfolders, have files sub1\test1.txt, sub2\test2.txt
3) Create a text file c:\folder\list.txt with the content:
*test1.txt
*test2.txt

4) Navigate to c:\folder and press Alt+F7
5) In the Search in field, enter @c:\folder\list.txt
6) Start the search.

Result: TC 9.51 RC3 will only find c:\folder\sub1\test1.txt

(In TC 8.52a, the same operation found correctly both c:\folder\sub1\test1.txt and c:\folder\sub2\test2.txt, so something was broken in the meantime.)

I ran some more random tests and found that for the first entry, matches are found in all subfolders, but for any subsequent entries only top level matches are returned.
User avatar
Ovg
Power Member
Power Member
Posts: 650
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list

Post by *Ovg »

Hmm
https://yadi.sk/i/YzxO4CV00mGSAA
1.txt:

Code: Select all

*test1
*test2
*test3
*test4
*test5
and just

Code: Select all

*test*
also work or i didn't understand you?
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 9.51 x64, Windows 7 SP1 x64
User avatar
XuaLee
Junior Member
Junior Member
Posts: 39
Joined: 2020-01-08, 20:14 UTC
Location: Vienna, Austria

Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list

Post by *XuaLee »

2billly
Confirmed. (with TC 9.5x, with TC 9.22a it still works)
(3 hits: only test1.txt found in the 3 sub folders)

2Ovg
Works only when Everthing is checked...
(6 hits: test1.txt + test2.txt found in the 3 sub folders)

test files

Code: Select all

C:\0\1
test1.txt
test2.txt
C:\0\2
test1.txt
test2.txt
C:\0\3
test1.txt
test2.txt
@c:\0\list.txt

Code: Select all

*test1.txt 
*test2.txt 
*test3.txt 
*test4.txt 
*test5.txt 
TC 9.51RC3/64 @ W10
Windows 10 Pro 64bit 2004 19041.546 | Total Commander (x64) 9.51 #44961
User avatar
petermad
Power Member
Power Member
Posts: 9846
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list

Post by *petermad »

I can confirm the bug - and add that it stopped working in TC 9.5b4. Also it still works when 'Everything is enabled'.

Maybe it has to do with one of these changes in TC9.5b4:
05.11.19 Added: Find files: "F2 search in found files" now also searches in previously found folders (32/64)
05.11.19 Fixed: Find files: Couldn't go back to previous searches when the search parameters were invalid, e.g. the start path didn't exist (32/64)
01.11.19 Fixed: Find files: Uncheck option "F2 search in search results" when user clicks on "New search" (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.988 (x64)
TC 3.10 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39969
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list

Post by *ghisler(Author) »

I can confirm it too - it's caused a countermeasure against duplicate results. I will fix it.
Author of Total Commander
http://www.ghisler.com
User avatar
XuaLee
Junior Member
Junior Member
Posts: 39
Joined: 2020-01-08, 20:14 UTC
Location: Vienna, Austria

Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list

Post by *XuaLee »

Confirmed fixed with TC9.51RC4/64 - with and w/o Everything checked
Last edited by XuaLee on 2020-03-04, 19:49 UTC, edited 1 time in total.
Windows 10 Pro 64bit 2004 19041.546 | Total Commander (x64) 9.51 #44961
User avatar
petermad
Power Member
Power Member
Posts: 9846
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: TC 9.51 RC3 - Find files with @c:\path\filelist.txt only finds first entry in list

Post by *petermad »

Confirmed fixed in TC 9.51rc4 :-)
License #524 (1994)
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.988 (x64)
TC 3.10 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply