Incorrect behaviour of Find Files dialog

Moderators: white, Hacker, petermad, Stefan2

browny
Senior Member
Senior Member
Posts: 294
Joined: 2007-09-10, 13:19 UTC

Incorrect behaviour of Find Files dialog

Post by *browny »

Windows 11, TC 11.03 64-bit.
Searching for directories that were recently modified (for purging older subdirectories with stale data).
The procedure is performed rarely, but is more or less a known routine.
At some point I noticed that search results are odd and sometimes just empty (while there should have been found entries).
Then I tried to play with search options, and came to conclusion that internal search parameters differ from the ones in dialog.
This was not studied very deeply, a trivial TC restart was applied and things returned to normal state.

Never noticed anything like that, and again non-reproducible behaviour.
However, recalling another rare issue with stuck "Show" buttons in Sync tool, both might be cases of memory corruption.

PS. Forum notifications list refused to clean up, and now it is empty. Thanks.
User avatar
Hacker
Moderator
Moderator
Posts: 13085
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Incorrect behaviour of Find Files dialog

Post by *Hacker »

browny,
That does not really give us much to go by.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48196
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Incorrect behaviour of Find Files dialog

Post by *ghisler(Author) »

Do you use "Everything" for searching? When using the ev: prefix, the search syntax is indeed different from the internal syntax. Then Total Commander uses the "Everything" syntax. Also when indexing folders, the info in "Everything" can lag a few seconds. For example, when I delete all files in a directory, "everything" will still report the old directory size for a few seconds.
Author of Total Commander
https://www.ghisler.com
browny
Senior Member
Senior Member
Posts: 294
Joined: 2007-09-10, 13:19 UTC

Re: Incorrect behaviour of Find Files dialog

Post by *browny »

ghisler(Author) wrote: 2024-05-20, 10:22 UTC Do you use "Everything" for searching?
No, never tried it and even do not know how it looks.
Directory contents was not changing while searches were performed; data should have been already on disk - less than an hour, but surely longer than several seconds.
User avatar
petermad
Power Member
Power Member
Posts: 14895
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Incorrect behaviour of Find Files dialog

Post by *petermad »

2browny
came to conclusion that internal search parameters differ from the ones in dialog.
Could you give an example of what you mean by that?
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
browny
Senior Member
Senior Member
Posts: 294
Joined: 2007-09-10, 13:19 UTC

Re: Incorrect behaviour of Find Files dialog

Post by *browny »

petermad,
Empty search results was already mentioned.
When searching in the current directory only, there were at least two more levels in results.
User avatar
petermad
Power Member
Power Member
Posts: 14895
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Incorrect behaviour of Find Files dialog

Post by *petermad »

2browny
I was curious: what do you mean by the phrase "internal search parameters"?
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48196
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Incorrect behaviour of Find Files dialog

Post by *ghisler(Author) »

2browny
Could you give an example of the search terms you use, and which name isn't found although you think it should be found?
Author of Total Commander
https://www.ghisler.com
browny
Senior Member
Senior Member
Posts: 294
Joined: 2007-09-10, 13:19 UTC

Re: Incorrect behaviour of Find Files dialog

Post by *browny »

Directories not older than 1 hour.
Search for was either empty or *.pdb
Depth could be unlimited, current directory or 1 level.
User avatar
petermad
Power Member
Power Member
Posts: 14895
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Incorrect behaviour of Find Files dialog

Post by *petermad »

Directories not older than 1 hour.
Search for was either empty
Works as expected here.

This was not studied very deeply, a trivial TC restart was applied and things returned to normal state.
Never noticed anything like that, and again non-reproducible behaviour.
Have you encountered this behavior since then?
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48196
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Incorrect behaviour of Find Files dialog

Post by *ghisler(Author) »

Directories not older than 1 hour.
Search for was either empty or *.pdb
If you search for attribute "directory" and *.pdb, you won't find anything, unless the directories themselves have the .pdb extension.
Author of Total Commander
https://www.ghisler.com
browny
Senior Member
Senior Member
Posts: 294
Joined: 2007-09-10, 13:19 UTC

Re: Incorrect behaviour of Find Files dialog

Post by *browny »

ghisler(Author) wrote: 2024-05-24, 09:57 UTC If you search for attribute "directory" and *.pdb, you won't find anything, unless the directories themselves have the .pdb extension.
In the current directory all directories had .pdb extension, and there were no *.pdb directories at lower levels.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48196
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Incorrect behaviour of Find Files dialog

Post by *ghisler(Author) »

That should work fine. I have tested it by renaming a directory to test.pdb and using Files - Change attributes to change the timestamp to the current date and time. Are you sure the directories were not older than 1 hour?
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13085
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Incorrect behaviour of Find Files dialog

Post by *Hacker »

Could this not be the "I deselected every Attribute except for Directory" mistake?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
browny
Senior Member
Senior Member
Posts: 294
Joined: 2007-09-10, 13:19 UTC

Re: Incorrect behaviour of Find Files dialog

Post by *browny »

It seems some trivial points are misread all the time.
This behaviour was seen only once.
Search was doing fine before the event and right after restart.
TC is usually running for hours and days before anything weird happens, then it is impossible to guess what was the trigger.
Hacker wrote: 2024-05-26, 08:36 UTC Could this not be the "I deselected every Attribute except for Directory" mistake?
How this explains that more than one level of directories were in the list when searching at the current level only?
To add more fun, there are also *.pdb files in subdirectories.
Post Reply