Closed Bug 254474 Opened 20 years ago Closed 20 years ago

Look into the "Message Body" Quick Search Critieria for IMAP users

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Thunderbird0.8

People

(Reporter: mscott, Assigned: mscott)

References

Details

Attachments

(2 files)

Today, if you choose the Message Body criteria from the quick search drop down
box, we end up doing an offline body search. This only works if you are an
offline user of course.

At the same time, I can do an advanced search and do an online search for body
contains as against my IMAP server and I can get results back.

Should we consider making the body searching code in:

http://lxr.mozilla.org/mozilla/source/mail/base/content/searchBar.js#404

smart enough to change the scope term to an online imap body search in certain
scenarios?
nominating for .8 while we consider our options.
Target Milestone: --- → Thunderbird0.8
I guess in createSearchTermsWithList we could check if it's a body search, and
adjust the scope accordingly. I think we should probably do this, only if we're
not offline. We might not do this if the folder is configured for offline use.
Attached patch potential fixSplinter Review
the only thing this patch doesn't do is fall back to the offline scope if the
folder is marked for offline use
Comment on attachment 155317 [details] [diff] [review]
potential fix

looks good to me.
Attachment #155317 - Flags: superreview+
fixed branch and trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Any chance the fix for this can be applied to the same issue with MailViews?
(See bug 196605, bug 199689.)  I've just checked with the 0806 Seamonkey and 
there is still no access to the remote bodies of the message with a MailView.
my patch broke pop 3 body searching from the quick search bar. re-opening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
only switch the search scope to online if the folder in question is an imap
folder.
fix for POP3 regression checked in.
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
*** Bug 234447 has been marked as a duplicate of this bug. ***
I see this working for POP and IMAP with TB 0.8, Win2K.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: