Closed Bug 436305 Opened 17 years ago Closed 4 years ago

Advanced Search Messages by Attachment Status unavailable for IMAP if `Run search on server` is enabled

Categories

(MailNews Core :: Search, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: chrislong, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080421 Firefox/2.0.0.14 Build Identifier: version 2.0.0.14 (20080506) I have several issues that are closely all related, so I thought I'd just file one bug. If you'd like me to split any of them out separately, I'd be glad to (or you're welcome to do it yourself if you want). 1. The "Search Messages" dialog doesn't allow searching IMAP folders based on Attachment Status. 2. When an IMAP folder is selected, the "Search Messages" dialog gives no indication that it's ever possible to search based on Attachment Status. (I wasted some time due to this because I thought TB could do this, but couldn't figure out how and couldn't tell in the UI that that was in fact where you'd do it.) 3. You can search IMAP folders based on Attachment Status in a Saved Search. This inconsistency seems really, really weird to me. Reproducible: Always Steps to Reproduce: 1. Select an IMAP folder. 2. Press Shift-F to bring up the Search Messages dialog. 3. Click on the drop-down menu that says "Subject", to see properties to search on. Actual Results: Attachment Status is not on the menu, and it is not even shown disabled (which would indicate to the user that it's sometimes possible). Expected Results: My preferences, in descending order, are: 1. Attachment Status is on the menu, enabled, and can be used for searching. 2. Attachment Status is on the menu, disabled, and there is a tooltip or some other indication of why it's disabled (i.e., unavailable for IMAP). 3. Attachment Status is on the menu, disabled.
TB3a1 confirm
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Core → MailNews Core
Component: Mail Window Front End → MailNews: Search
OS: Linux → All
Product: Thunderbird → Core
QA Contact: front-end → search
Hardware: PC → All

Magnus, could you explain a bit about the technical background of this?

We have search for attachment status ("Has Attachments") on IMAP, but not when running the search on the server.

STR

  1. Select an IMAP account
  2. Ctrl/Cmd+Shift+F for Advanced Search Messages
  3. Check criteria list for Attachment Status --> available and working
  4. Check [x] Run search on server
  5. Re-check criteria list for Attachment Status --> not available
Flags: needinfo?(mkmelin+mozilla)
Summary: Search by Attachment Status unavailable for IMAP → Advanced search by Attachment Status unavailable for IMAP if `Run search on server` is enabled
Summary: Advanced search by Attachment Status unavailable for IMAP if `Run search on server` is enabled → Advanced Search Messages by Attachment Status unavailable for IMAP if `Run search on server` is enabled

There is no IMAP way to search for attachments, at least that I know of. Not much we can do about that, except correctly hiding it.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mkmelin+mozilla)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.