TC does not find all files when searching for text in files.

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

TC does not find all files when searching for text in files.

Post by *TW »

... and "everything" is selected.

as far as i can see, TC then does not find text in files that have no extension.

- activate "everything"
- search in a text file (with extension .txt) for a word that this file contains.

TC finds that text file.

now remove the extension .txt and do the same search again. TC does NOT find anything.

now deselect "everything" and do the same search again. now the search works well.

/edit: sorry, it's different. TC doesn't find files with no extensions here using "everything", no matter if text search is used.
this happens if "search for" is emtpy or also if i use *.*

hm... must be my everything settings?
licenced and happy TC user since 1994 (#11xx)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This seems to be a misfeature of Everything: When you leave the field "Search for" empty, TC uses search string *.* . Normally, *.* finds all files on Windows. But "Everything" only seems to find files containing a dot.

Solution: Search for * instead of *.* or empty "Search for" string.
Author of Total Commander
https://www.ghisler.com
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

i did a lot of editing in the meantime, sorry.

i was searching for CFLAGS in a directory with source code, and was very surprised TC didn't find any makefile that contains this string.



but as edited in #1, leaving "search for" empty does not help, unfortunately.
* does though.

so we need either to set * or deselect "everything" to get accurate results. this is a bit confusing, but oh well...
licenced and happy TC user since 1994 (#11xx)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, I will have to address that. If only you had reported that 1 day earlier, then I would have fixed it in TC 9.0a. Now there won't be a new version until next year...
Author of Total Commander
https://www.ghisler.com
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

this issue seems to be fixed, in both x86 and x64 versions of TC. :)

thanks.
licenced and happy TC user since 1994 (#11xx)
Post Reply