Closed Bug 519779 Opened 15 years ago Closed 12 years ago

Saved Search behavior inconsistent with "Search Online" and criteria involving message tags

Categories

(Thunderbird :: Search, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mozilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090930 Lightning/1.0pre Shredder/3.0pre

I have a saved search folder set to include any items in certain IMAP folders where "Tags" "contains" "To Do".  When this search folder has the "Search Online" box cleared, it correctly behaves and shows me all of the flagged messages from the searched folders.  If I check the "Search Online" box, I get strange behaviors - if I tag a message "To Do" in the current session, it seems to appear in the folder, but older tagged messages no longer show up.  Even items that have been tagged "recently" seem to randomly disappear out of the folder.

The "Search Online" behavior seems to work properly for other criterion - I have another saved search folder with two Body filters and a Date filter, and it displays the same set of messages with Search Online enabled and disabled.

I have verified this behavior under Safe Mode, it is duplicated there as well.  I have waited with this saved search folder selected for extended periods of time to allow results to come in with no luck.

Reproducible: Always

Steps to Reproduce:
1. Tag some messages "To Do" (or another tag of your choice, just use the same one throughout).
2. Create Saved Search folder with "Tags" "contains" "To Do" as the search criterion, and some set of IMAP folders selected, containing messages with this tag.
3. Observe messages in the folder with the default "Search Online" disabled.
4. Enable "Search Online" - some or all tagged messages should disappear.
5. If all messages were tagged recently they may all remain visible.  Simply wait a while, or close and re-open Thunderbird, then tag new messages.  Either of these should cause the behavior to exert itself.
I have this problem under Linux Thunderbird 3.x and 8.x also. It appears to be cross-platform.
"Online search for Tb's Tag" is done as "search of IMAP flag/keyword by IMAP command"(flag named $label1 if Tb's Tag of Important. "non Online search for Tb's Tag" is done on meta data held in local Mal DB.) So, online search result depends on returned response from IMAP server.
Can you get IMAP log?
> https://wiki.mozilla.org/MailNews:Logging
> Win example : SET NSPR_LOG_MODULES=timestamp,imap:5
> IMAP command/response : http://tools.ietf.org/html/rfc3501
If log analysis by developer is needed, attach log file to this bug(never paste if long data) after remove/replace personal information from log file, please.
need info from traack
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Flags: needinfo?(mozilla)
Resolution: --- → INCOMPLETE
Flags: needinfo?(mozilla)
You need to log in before you can comment on or make changes to this bug.