"Search archives" inconsistency
Moderators: white, Hacker, petermad, Stefan2
Re: "Search archives" inconsistency
Petermad,
As I stated before, I find the false positive result with the Archives option disabled very troubling. If something is disabled, you cannot refer to it in your search results. Period.
This remark applies to ZIP/7Z though. When it comes to *.exe and the like, I opt out from making comments on that. I believe these are filtered out via "Search in", not the Archives option. Feel a tad confused; not sure where you are going with your question.
mmm
As I stated before, I find the false positive result with the Archives option disabled very troubling. If something is disabled, you cannot refer to it in your search results. Period.
This remark applies to ZIP/7Z though. When it comes to *.exe and the like, I opt out from making comments on that. I believe these are filtered out via "Search in", not the Archives option. Feel a tad confused; not sure where you are going with your question.
mmm
Re: "Search archives" inconsistency
mmm,
Roman
Well, there are lots of self-extracting .exe archives or installers, for example.When it comes to *.exe and the like, I opt out from making comments on that. I believe these are filtered out via "Search in", not the Archives option. Feel a tad confused; not sure where you are going with your question.
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.
Re: "Search archives" inconsistency
But it's not a false positive. The text is in the archive itself. If I search in files for some text I expect the program to return all files contaning that text. I don't expect a program to leave out a file just because it's an archive.
The thing is that archives are somewhat special. They're files and can contain files at the same time. As such, they're found whether or not the "Search archives" option is checked (if they or the files within them contain the text, of course).
As you probably know by now, you can consider the "Search in archives" checkbox as either
- "Search in archives" as long as "Find text" is unchecked, or
- "Search in files inside archives" if "Find text" is enabled
Regards
Dalai
Last edited by Dalai on 2022-07-18, 16:00 UTC, edited 1 time in total.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: "Search archives" inconsistency
How do you conclude that .exe and .dll and other binary files are filtered out vis ''Search in' - Search in if for directories or for search list files (preceded with @)?This remark applies to ZIP/7Z though. When it comes to *.exe and the like, I opt out from making comments on that. I believe these are filtered out via "Search in", not the Archives option. Feel a tad confused; not sure where you are going with your question.
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
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
Re: "Search archives" inconsistency
Petermad wrote:
Replacing "are filtered out" with "can be filtered out" might help.
Petermad,
at this point I am asking for a short break as I need to investigate the Archive option and the entire conversation a lot deeper so as not to make more harm than good. Will touch base with you when I put everything together.
I offer my apologies for poor wording. My bad.How do you conclude that .exe and .dll and other binary files are filtered out vis ''Search in' - Search in if for directories or for search list files (preceded with @)?
Replacing "are filtered out" with "can be filtered out" might help.
Petermad,
at this point I am asking for a short break as I need to investigate the Archive option and the entire conversation a lot deeper so as not to make more harm than good. Will touch base with you when I put everything together.
Re: "Search archives" inconsistency
Dalai wrote:
I am trying to fully understand only half of the above - how "Search archives" works for me when "Find text" is enabled.As you probably know by now, you can consider the "Search in archives" checkbox as either
"Search in archives" as long as "Find text" is unchecked, or
"Search in files inside archives" if "Find text" is enabled
Re: "Search archives" inconsistency
Dalai wrote:
If you implement a checkbox and name it "Search archives", the only deduction I am capable of is that you gave the user a convenient way to decide whether they want to include Archives to search or not. Similarly, you could implement an "Include/exclude C# files from search results" option if this feature would be in great demand for whatever reason.
Now, slowly but steadily I am coming to the conclusion that the actual purpose of the "Search archives" checkbox currently implemented in TC is different though. It is not "Archives yes or no", it is more like "do archives one way or the other way". Am I correct?
If yes, where can I find a full and official description of what the "Search archives" checkbox actually does?
You could not put it better.The thing is that archives are somewhat special. They're files and can contain files at the same time.
I beg to differ.As such, they're found whether or not the "Search archives" option is checked (if they or the files within them contain the text, of course).
If you implement a checkbox and name it "Search archives", the only deduction I am capable of is that you gave the user a convenient way to decide whether they want to include Archives to search or not. Similarly, you could implement an "Include/exclude C# files from search results" option if this feature would be in great demand for whatever reason.
Now, slowly but steadily I am coming to the conclusion that the actual purpose of the "Search archives" checkbox currently implemented in TC is different though. It is not "Archives yes or no", it is more like "do archives one way or the other way". Am I correct?
If yes, where can I find a full and official description of what the "Search archives" checkbox actually does?
Last edited by mmm on 2022-07-19, 11:30 UTC, edited 1 time in total.
Re: "Search archives" inconsistency
2mmm
Yesow, slowly but steadily I am coming to the conclusion that the actual purpose of the "Search archives" checkbox currently implemented in TC is different though. It is not "Archives yes or no", it is more like "do archives one way or the other way". Am I correct?
Well, there is the Help:If yes, where can I find a full and official description of what the "Search archives" checkbox actually does?
Help wrote:Search archives
Enables search in files with extension ZIP, ARJ, LZH, RAR, TAR, GZ, CAB, ACE, and 7Z. Text can even be searched in archives! The files are unpacked, searched and deleted on the fly.
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
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
Re: "Search archives" inconsistency
Petermad,
This conversation clearly circled.
With that being said I am going to put off my comments for some time; will wait to see further development instead.
Best,
mmm
This conversation clearly circled.
With that being said I am going to put off my comments for some time; will wait to see further development instead.
Best,
mmm
Re: "Search archives" inconsistency
Hacker,
you mentioned a "concept discussion" the other day.
Well, the floor is all yours.
mmm
you mentioned a "concept discussion" the other day.
Well, the floor is all yours.
mmm
Re: "Search archives" inconsistency
mmm,
Roman
Well, if you want something to change, a concept of how the finished outcome should look like is certainly helpful. As I am not proposing any change, I have no concept to offer.you mentioned a "concept discussion" the other day.
Well, the floor is all yours.
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.
Re: "Search archives" inconsistency
Yes, that's what I meant with my two bullet points above. Put another way, archives are treated as files as long as "Search archives" is unchecked, and as directories if "Search archives" is checked. If "Search archives" is enabled, only their contents as an archive matter, not their binary contents as a file.
What label would you suggest for this checkbox? It's probably not so easy to find one that suits both states of the "Find text" checkbox. "Search archive contents" is just as ambigious because what contents is this referring to, binary as in "file" or actual archive contents? The checkbox would probably need to change its label based on the "Find text" checkbox, but that would create some other GUI-related issues (as I already said in my initial post in this thread).
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: "Search archives" inconsistency
Dalai,
I totally appreciate your analysis. It took me a while to understand what is going on here.
This might be a step forward. Just a thought. I am definitely not qualified enough to foresee all consequences and/or ramifications.
2. Besides the two work modes currently implemented - i.e. treat archives "as files" and "as directories" whatever it means - I would like you folks to consider adding a new feature that would allow to "Include/Exclude archives" from searches.
Reason: In my world, archives may get really big. A simple and convenient way how to eliminate tons of giga bytes from your searches might be useful. Low priority.
Many thanks,
mmm
I totally appreciate your analysis. It took me a while to understand what is going on here.
1. I find the "Search archives" checkbox label versus the function(s) implemented behind so confusing/misleading that I am inclined to say that the two work modes need a two-state radio button.Put another way, archives are treated as files as long as "Search archives" is unchecked, and as directories if "Search archives" is checked.
This might be a step forward. Just a thought. I am definitely not qualified enough to foresee all consequences and/or ramifications.
2. Besides the two work modes currently implemented - i.e. treat archives "as files" and "as directories" whatever it means - I would like you folks to consider adding a new feature that would allow to "Include/Exclude archives" from searches.
Reason: In my world, archives may get really big. A simple and convenient way how to eliminate tons of giga bytes from your searches might be useful. Low priority.
Many thanks,
mmm
Re: "Search archives" inconsistency
Hacker,
Any word?
You had requested a proposal and you've got it.
Thanks,
mmm
Any word?
You had requested a proposal and you've got it.
Thanks,
mmm
Re: "Search archives" inconsistency
mmm,
As one can easily exclude specific extensions from search, e.g....
... I don't really think it will gain traction. But that is not up to me, i can only offer an educated opinion.
Roman
You mean this?Any word?
You had requested a proposal and you've got it.
A checkbox to not search the binary content of archive files when performing text search?Besides the two work modes currently implemented - i.e. treat archives "as files" and "as directories" whatever it means - I would like you folks to consider adding a new feature that would allow to "Include/Exclude archives" from searches.
As one can easily exclude specific extensions from search, e.g....
Code: Select all
*.* | *.7z *.rar *.zip
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.