add quick search for attachment file name
Categories
(Thunderbird :: Search, enhancement)
Tracking
(Not tracked)
People
(Reporter: khanban, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: uiwanted)
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
Comment 4•18 years ago
|
||
Updated•17 years ago
|
Updated•16 years ago
|
Comment 6•16 years ago
|
||
Comment 7•16 years ago
|
||
Comment 9•15 years ago
|
||
Comment 11•8 years ago
|
||
Updated•4 years ago
|
Comment 13•2 years ago
|
||
(In reply to comment #11)
For attached messages it would also make sense to search their headers.
This would be bug 1464769: "Can't search headers of attached messages with body search any more"
Comment 14•1 year ago
|
||
(In reply to Thomas D. (:thomas8) from comment #7)
There are several related bugs, but no dupes as far as I can see.
Most of them are about Tools > Message Filters, so be on your guard not to
confuse them with quick filtering in the message pane.Bug 83969 - Ability to search for "Has Attachments" (which I just moved to
SeaMonkey, as TB can do this everywhere except in advanced "search messages"
of newserver accounts)
Bug 105169 - Filter for Attachments
Bug 224392 - Add ability to filter by attachment name (extension)
(can't tell the difference between the last two)
Bug 224183 - Attachment email message headers not searchable
This is 15 years old?!
I wish I can search for the name of the attachment as in "the name contains a string "xyz", etc.
If we can do regular expression search with ignoring case, that would be wonderful, but that can wait.
Just having this feature will be very nice (the filename contains a string).
Anyone?
Where do I start to modify the search code?
(Yes, we need to decode the mime-encoded filename or something, but that would be doable.)
Comment 15•1 year ago
|
||
I think you'd be looking at handling it around https://searchfox.org/comm-central/rev/9416f10bc39a7eb7ce47be497579b1d28e612a9a/mailnews/search/src/nsMsgBodyHandler.cpp#178
Handling ascii cases might be not too hard with a bit of work but for encoded cases...
Comment 16•1 year ago
•
|
||
(In reply to Magnus Melin [:mkmelin] from comment #15)
I think you'd be looking at handling it around https://searchfox.org/comm-central/rev/9416f10bc39a7eb7ce47be497579b1d28e612a9a/mailnews/search/src/nsMsgBodyHandler.cpp#178
Handling ascii cases might be not too hard with a bit of work but for encoded cases...
Thank you, Magnus.
I will take a look and see how far I can go.
The above code is at the lowest level to grok attachment header lines, etc.
Where do the search invoked from the JS side.
I mean where I would add, say, "attachment filename conttains" (and specify a string) from the search messages menu.
I hope I can get a crude first prototype that works with ASCII only this summer.
Stay tuned, but don't hold your breath. The heat this year is really consuming people including myself.
Description
•