Closed Bug 299109 Opened 16 years ago Closed 11 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 firstname.lastname@example.org. 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 email@example.com 3. Wait for email from firstname.lastname@example.org 4. Both the emails will be in INBOX 5. Quick search bar, enter "email@example.com" Actual Results: Only the message from firstname.lastname@example.org will be shown. The message from myemail.adr to email@example.com will not be shown. Expected Results: Also show the message from myemail.adr to firstname.lastname@example.org 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 email@example.com ... this is necessary in case you have emails addressed to firstname.lastname@example.org 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 email@example.com 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 188.8.131.52 (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 "firstname.lastname@example.org" then the result of the search lists messages with *Recipient* matching "email@example.com" when it should list messages with *Sender* matching "firstname.lastname@example.org." 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: 11 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.