Closed Bug 299109 Opened 19 years ago Closed 15 years ago
Behaviour of Quick Search Bar on "Sender" or "Subject Or Sender" setting - when sent mails are saved to INBOX
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Normally, the behaviour of quick search bar in the Sent folder is that it searches for "recipient" instead of "sender" - this makes sense because the sender will always be email@example.com. I've been experimenting with saving sent messages to INBOX, so message threads are kept in the same folder instead of in the Sent folder. Quick search bar will show messages from "Sender", but not messages from me to "Sender". It would be nice to also show messages from me to "Sender" Reproducible: Always Steps to Reproduce: 1. Menu-Tools/Accounts/Copies&Folders/Place a copy in INBOX 2. Send email to firstname.lastname@example.org 3. Wait for email from email@example.com 4. Both the emails will be in INBOX 5. Quick search bar, enter "firstname.lastname@example.org" Actual Results: Only the message from email@example.com will be shown. The message from myemail.adr to firstname.lastname@example.org will not be shown. Expected Results: Also show the message from myemail.adr to email@example.com searchBar.js can be modified to add the expected behaviour.
(In reply to comment #1) > Created an attachment (id=187629)  > Added one block of code. Rest of code unaffected. Notice that the patch will first match the list of recipients, then it will do an AND match of firstname.lastname@example.org ... this is necessary in case you have emails addressed to email@example.com that are not sent to you (such as from bulk emailers, etc) ..
(In reply to comment #1) > Created an attachment (id=187629)  > Added one block of code. Rest of code unaffected. Notice that firstname.lastname@example.org is hard coded. I don't know how to retrieve the user's email address(es) from thunderbird!
Related to bug 259914 comment 11?
Your description doesn't read well to me so I'm not totally sure I undrestand the request. Is your request to limit it to using it in INBOX? Does Bug 310359 describe what you are asking for? (if it were available in quicksearch)
I'm seeing the same thing with the current official release: (version 220.127.116.11 (20080213)) Specifically: If I arrange to save sent messages in FOLDER, which also holds received messages, then doing a quick search for "Sender" or "Subject or Sender" matching "email@example.com" then the result of the search lists messages with *Recipient* matching "firstname.lastname@example.org" when it should list messages with *Sender* matching "email@example.com." The problem persists even after I redirect sent messages to a different folder. The folder is tainted with permanently broken quick-search-by-sender. IMHO, having "Sender" ever search the "Recipient" column is a mis-feature. Instead, there should be a separate quick search entry to search by "Recipient," and then everything would work in an obvious way.
(In reply to comment #6) > IMHO, having "Sender" ever search the "Recipient" column is a mis-feature. > Instead, there should be a separate quick search entry to search by > "Recipient," and then everything would work in an obvious way. That is what is now implemented in Thunderbird3, as visible in 3.0b1.
Reporter could answer to comment #5, please?
Whiteboard: closeme 2009-08-30
Closing Incomplete for lack of answers. Feel free to reopen if you can provide more information.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.