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

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: sammo, Unassigned)

Details

(Whiteboard: closeme 2009-08-30)

Attachments

(1 file)

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 me@myemail.adr.

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 yourbuddy@theiremail.adr
3. Wait for email from yourbuddy@theiremail.adr
4. Both the emails will be in INBOX
5. Quick search bar, enter "yourbuddy@theiremail.adr"
Actual Results:  
Only the message from yourbuddy@theiremail.adr will be shown.

The message from myemail.adr to yourbuddy@theiremail.adr will not be shown.

Expected Results:  
Also show the message from myemail.adr to yourbuddy@theiremail.adr

searchBar.js can be modified to add the expected behaviour.
(In reply to comment #1)
> Created an attachment (id=187629) [edit]
> 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 me@myemail.adr ... this is necessary in case you have emails
addressed to yourbuddy@theiremail.adr that are not sent to you (such as from
bulk emailers, etc) ..
(In reply to comment #1)
> Created an attachment (id=187629) [edit]
> Added one block of code. Rest of code unaffected.

Notice that me@myemail.adr 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)
QA Contact: front-end
I'm seeing the same thing with the current official release: (version 2.0.0.12 (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 "user@host.domain" then the result of the search lists messages with *Recipient* matching "user@host.domain" when it should list messages with *Sender* matching "user@host.domain."  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.
Assignee: mscott → nobody
(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.

Attachment

General

Creator:
Created:
Updated:
Size: