Feature idea - quick search through descriptions

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
donald42
Junior Member
Junior Member
Posts: 4
Joined: 2020-02-21, 12:49 UTC

Feature idea - quick search through descriptions

Post by *donald42 »

I think it would be a good feature to be able to quick-search typing keys within the descript.ion descriptions of files. I have a bunch of receipts in PDF with descriptions, and I always wish I could search through the descriptions with quick-search.
I have no idea how hard would this to be implemented, but I think this would be a great feature to have!
What do you think guys? More importantly I would be curious what the devs think!
hi5
Power Member
Power Member
Posts: 637
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Feature idea - quick search through descriptions

Post by *hi5 »

Perhaps it could be added to a plugin QuickSearch eXtended so you may wish to post your suggestion there as the developer should know if it would be possible to add it.

I had a somewhat similar suggestion (searching via Alt+F7): Search Gui: comments checkbox General tab but that didn't gain much traction :(
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Feature idea - quick search through descriptions

Post by *petermad »

Moderator message from: petermad » 2024-12-31, 15:56 UTC

Moved to "TC suggestions (English)" from "Total Commander (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: Feature idea - quick search through descriptions

Post by *tuska »

In "QuickSearch eXtended" it is possible to define fields from "wdx_Content plugins".

wdx_FileDiz_File Descriptions 2.6.2-x32 / 1.2.3-x64
The "FileDiz" plugin used to be able to display the contents of descript.ion files in the "[=filediz.Long description]" field.
For a newly entered TC comment on a .TXT file, e.g. "hello", I see the following in this field as the content: ÿþ  (in a "Custom columns view").
Therefore currently unusable... (for me).

⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
Only if it were possible to provide access to the internal Total Commander plugin "tc" - in "QuickSearch eXtended"! -,
specifically to the field: [=tc.comment], then I would currently consider it to be the optimal solution,
because in this case German umlauts (äöüÄÖÜ) and special character (ß) would also be taken into account.
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺

Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2605) - 2024-12-10 | TC 11.50RC4 x64/x86
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Feature idea - quick search through descriptions

Post by *ghisler(Author) »

This means that the descript.ion was saved as Unicode UTF-16 with byte order mark. You can choose how to store it via menu Configuration - Options - Operation. By default it is set to "Plain text+UTF16". This means that when both the file name and comment can be stored with the current code page, the descript.ion file will be stored as plain text (ANSI), otherwise as UTF16. Since your comment is just "hello", the file name must be containing a character outside of your current code page (or there already was an UTF16 comment file from a previous operation).
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Feature idea - quick search through descriptions

Post by *Horst.Epp »

2ghisler(Author)
As Tuska said, we would need a WDX version to access the TC internal fields.
This should not be a big problem for you :)
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: Feature idea - quick search through descriptions

Post by *tuska »

ghisler(Author) wrote: 2025-01-02, 08:21 UTC This means that the descript.ion was saved as Unicode UTF-16 with byte order mark.
You can choose how to store it via menu Configuration - Options - Operation.
By default it is set to "Plain text+UTF16".
This means that when both the file name and comment can be stored with the current code page,
the descript.ion file will be stored as plain text (ANSI), otherwise as UTF16.
Since your comment is just "hello", the file name must be containing a character outside of your current code page
(or there already was an UTF16 comment file from a previous operation).
Thank you for your explanations.

I probably set myself the following at the time, and for good reason:

Code: Select all

Preferred type: Unicode UTF16 (= UTF-16 LE)
Changing it to “Plain text+UTF16” didn't help with regard to hidden descript.ion files.

I can only repeat that, as far as I can see, the only way to ensure a flawless "e.g. Search... Alt+F7" and
"display" in a Custom Columns view is to use “[=tc.comment]”.



Regarding the “FileDiz” plug-in - “[=filediz.Long description]”, I seem to recall that TC file comments
could also be queried in the past.
However, only the field contents of the “File description” field are currently displayed in File - Properties - Details...
or... Details... the field contents of the “URL” field. For example, “ÿþS” is also displayed in a TXT file.

Just a note:
In QuickSearch eXtended 2.3.1, "[=filediz.Long description]" works, i.e. the content of the "File description" field
can filter out the file that has the search term in the "File description" field by simply typing a search term into a TC window.
Deutsch (German) - “FileDiz” plug-in
Bezüglich Plugin "FileDiz" - "[=filediz.Long description]" meine ich mich erinnern zu können,
dass früher auch TC-Dateikommentare abgefragt werden konnten.
Derzeit wird jedoch nur in Datei - Eigenschaften - Details ... der Feldinhalt von Feld "Dateibeschreibung"
bzw. ... Details ... der Feldinhalt von Feld "URL" angezeigt. Bei einer TXT-Datei wird zB auch "ÿþS" angezeigt.

Nur Anmerkung:
In QuickSearch eXtended 2.3.1 funktioniert "[=filediz.Long description]", d.h. der Inhalt von Feld "Dateibeschreibung"
kann durch einfaches Eintippen eines Suchbegriffes in ein TC-Fenster die Datei herausfiltern, welche den
Suchbegriff im Feld "Dateibeschreibung" stehen hat.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Feature idea - quick search through descriptions

Post by *ghisler(Author) »

Changing it to “Plain text+UTF16” didn't help with regard to hidden descript.ion files.
It only helps with newly created descript.ion files. Those which are already using UTF16 due to your previous setting will not be changed back to plain text (ANSI) when you add, remove, or change a comment. There is a wdx version of the internal fields, the sample plugin (filesys), but it doesn't contain the comment fields because they are quite complex to handle.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4046
Joined: 2007-05-21, 12:17 UTC

Re: Feature idea - quick search through descriptions

Post by *tuska »

ghisler(Author) wrote: 2025-01-03, 08:06 UTC
Changing it to “Plain text+UTF16” didn't help with regard to hidden descript.ion files.
It only helps with newly created descript.ion files. Those which are already using UTF16 due to your previous setting
will not be changed back to plain text (ANSI) when you add, remove, or change a comment.
There is a wdx version of the internal fields, the sample plugin (filesys), but it doesn't contain the comment fields
because they are quite complex to handle.
Thanks for this further detailed information.

Unfortunately, we are moving further and further away from the actual goal:
Using QuickSearch eXtended 2.3.1 with a wdx plugin that can display TC file comments
including umlauts and special characters.

Maybe someone can contact the author of the “FileDiz” plugin and let him know
that “descriptions from Descript.ion” is no longer working. I don't know of any contact address. *)
(Then there would probably be the possibility to use QuickSearch eXtended for TC file comments
[without German umlauts and special characters]).

I would be surprised or pleasantly surprised if TC came up with a solution.
For me, this topic is therefore closed until further notice.

*) EDIT: Email sent on 3.1.2025 to the author of the “FileDiz” plugin.


Related topic:
A Better quick search for TAGS in next Total Commander 9
User avatar
rt2ryu
Junior Member
Junior Member
Posts: 34
Joined: 2018-02-26, 10:30 UTC

Re: Feature idea - quick search through descriptions

Post by *rt2ryu »

The problem with the File Descriptions extension is not only with diacritics, for some searches will cause Quick search to lock TC in the background activity, making the entire interface fake dead. It seems that there is also a problem with the handling of some specific encodings. The best solution for this solution is to open up the internal tc annotation function as an API for Quick Search
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Feature idea - quick search through descriptions

Post by *ghisler(Author) »

2rt2ryu
Please give an example of what doesn't work.
Author of Total Commander
https://www.ghisler.com
Post Reply