TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *tuska »

If the parameters: ev: or ed: have been specified in the "Search for:" field of the "Find Files" window,
then ☑ F2 does NOT search in found files.

If you delete the parameters ev: or ed: ... then ☑ F2 Search in found files works.
TC 9.50ß1 x64/x86
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *ghisler(Author) »

Confirmed, thanks. ev: and ed: force everything to on, which clashes with "search in found files".
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *tuska »

21.10.19 Release Total Commander 9.50 beta 2
18.10.19 Fixed: Find files: "F2 Search in found files" not working if search text had prefix ed: or ev: (32/64)
There is still a problem (32 bit & 64 bit) here at the moment:

With "F2 Search in found files" I can obviously only search for file names,
but no longer with the Everything parameters others than ed: and ev:.

Example for ed: (the same occurs with ev:)

Code: Select all

Search for: ed:dateiattrib    (= part of a filename)
F2 Search in found files
ed:ext:pdf --------> NOK .... [No files found], but file "Dateiattribute.pdf" is in the search results list!

Code: Select all

Search for: ed:ext:pdf
F2 Search in found files
ed:dateiattrib ----> OK ..... finds file "Dateiattribute.pdf"!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *ghisler(Author) »

With "F2 Search in found files" I can obviously only search for file names,
but no longer with the Everything parameters others than ed: and ev:.
Unfortunately this isn't possible:
1. 'Everything' cannot see the previous search result. I cannot call Everything 10'000 times if there are 10'000 previous results
2. Total Commander doesn't know all the Everything parameters, and they can change with time

Maybe I should just show an error like "Function not supported!"?
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *tuska »

ghisler(Author) wrote:1. 'Everything' cannot see the previous search result.
'Everything' can see the previous search result when exporting the search result to an .efu file;
Type: Everything File List (*.efu) | File Lists |EFU File List Help | (Google: EFU files site:voidtools.com)
EFU files are comma-separated values (CSV) files. | "Everything" version 1.3.0 EFU syntax | Convert Timestamp

Example directly in 'Everything' (for better understanding only):
Search for: ext:bar
File > Export... STRG+S ...
Afterwords open .efu in Texteditor.

Maybe we could use that as follows:
1. if someone executes this option with F2: "☑ F2 Search in found files" in TC
2. the displayed search result is saved in an .efu file, e.g. to C:\TEMP\Everything.efu
3. when searching in found files, this file is then accessed

If this is not possible for any reason, please us the message:
"Function not supported!"

Thanks!
ghisler(Author) wrote:2. Total Commander doesn't know all the Everything parameters, and they can change with time.
'Everything' will surely get a lot of new parameters with the next major release (1.5).
I assume that there will be some of them, which might be interesting for searches in TC as well.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *tuska »

30.10.19 Release Total Commander 9.50 beta 3
28.10.19 Fixed: Find files: Show error when user combines option "F2 Search in found files"
or "Only search in selected directories/files" with prefix "ed:" or "ev:" (32/64)
After a short test I noticed the following:

1. ALT+SHIFT+F7
2. ed:searchword -> Start search
3. F2 Search in found files
4. searchword -> Start search
5. Button "New search"
6. ed:searchword -> Start search [or ev:searchword -> Start search]
7. <Error!> Function not supported!
    ed:
    +
    F2 Search in found files

This error message must not appear after clicking the button "New search".
Please ask for correction (tested with TC 9.50ß3 x64 & x86).

I will do some more tests at a later time and give you a feedback here.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *ghisler(Author) »

Apparently "F2 Search in found files" is still checked after you clicked on "New search". I will uncheck it.

Btw, I tried to pass an .efu file as a parameter to Everything, but this does not work. There is a parameter "filelistfilename" to pass efu to Everything, but this only works for .efu files which the user has added himself to the Everything index:
https://www.voidtools.com/forum/viewtopic.php?t=6498
Therefore it's not possible to tell Everything to search in a given set of previous search results.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *tuska »

ghisler(Author) wrote: 2019-10-31, 10:10 UTC Apparently "F2 Search in found files" is still checked after you clicked on "New search". I will uncheck it.
Thanks!
ghisler(Author) wrote: 2019-10-31, 10:10 UTC Btw, I tried to pass an .efu file as a parameter to Everything, but this does not work.
There is a parameter "filelistfilename" to pass efu to Everything, but this only works for .efu files
which the user has added himself to the Everything index:
https://www.voidtools.com/forum/viewtopic.php?t=6498
Therefore it's not possible to tell Everything to search in a given set of previous search results.
This example was about CD's which were indexed some time before and exported into an .efu file,
probably to avoid unnecessarily loading the index or Everything.db with data that is not needed at all times.

If someone makes a search query in 'Everything' or in TC with 'Everything' support,
then only those files/folders can be in the search result, which were already indexed before.

An .efu file created at the time of the search query in TC - with the first search results -
would be up to date at this time in my opinion and would not have to be added to the index by the user first.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *tuska »

Something that needs getting used to (at least for me) is this:

Code: Select all

1. Search for: ed:search ------------------> 'Everything' search rules are applied
2. F2 Search in found files
3. Search for: 9.50b1 ---------------------> TC search rules are applied *)
4. [No files found] *)
*) After "F2 Search in found files" was searched for this file: "TC 9.50b1 - Feld Suchen in leer - Parameter ed.txt"
-- 'Everything' search rules would have found the search term "9.50b1"
-- TC search rules - Help (F1): "When the search string contains a dot, Total Commander will look for the exact name match."

Maybe you could adapt the behaviour after F2 to the 'Everything' search rules?
(I.e. in the background <=hidden> the search term is preceded by the parameter ed:?)
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *tuska »

tuska wrote: 2019-10-30, 23:45 UTC
30.10.19 Release Total Commander 9.50 beta 3
28.10.19 Fixed: Find files: Show error when user combines option "F2 Search in found files"
or "Only search in selected directories/files" with prefix "ed:" or "ev:" (32/64)
After a short test I noticed the following:

1. ALT+SHIFT+F7
2. ed:searchword -> Start search
3. F2 Search in found files
4. searchword -> Start search
5. Button "New search"
6. ed:searchword -> Start search [or ev:searchword -> Start search]
7. <Error!> Function not supported!
    ed:
    +
    F2 Search in found files

This error message must not appear after clicking the button "New search".
Please ask for correction (tested with TC 9.50ß3 x64 & x86).
ghisler(Author) wrote: 2019-10-31, 10:10 UTC Apparently "F2 Search in found files" is still checked after you clicked on "New search". I will uncheck it.
Bugfix confirmed in TC 9.50b4 x64 / x86 :D

Your opinion on this point above would still interest me.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC 9.50b1 - F2 Search in found files - Search for: ev: ed:

Post by *tuska »

tuska wrote: 2019-11-07, 19:00 UTC Bugfix confirmed in TC 9.50b4 x64 / x86 :D
Your opinion on this point above would still interest me.
This question has already been answered above:
ghisler(Author) wrote: 2019-10-31, 10:10 UTC ... Therefore it's not possible to tell Everything to search in a given set of previous search results.
@Moderators
Therefore, please move this post to the forum "TC Fixed bugs".
Thanks!
Post Reply