Closed Bug 344290 Opened 19 years ago Closed 19 years ago

Cannot search by Tag on imap folder

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: eldrik, Assigned: Bienvenu)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: version 2 alpha 1 (20060711) If I right click on an imap folder, click Search, then do a search for a tag (and a tag I know exists on an email in that folder), I get zero results. (I know the tag is there, because I can see it if I examine the email, or use a Message view which contains that tag.) I've confirmed this on Windows as well. Reproducible: Always Steps to Reproduce: 1. Tag a message in an imap folder. 2. Search the folder for emails with that tag. Actual Results: Zero results. Expected Results: The search to show the messages with the tags.
Version: unspecified → 2.0
I'm still seeing this problem. The thing that is interesting is that the 'View' code seems to work great. I can select all messages in a folder tagged as Important with the View drop down fine. It's only when I try to use the actual Search functionality to search folders for tags is when it doesn't work. Maybe the search code hasn't been updated to handle tags yet? Specifically imap keyword tags maybe?
I'm seeing the same thing with the 20060724 zip build on WinXP and Cyrus IMAP (v2.3.6). Doesn't matter if it's the 5 default tags or custom-made tags. Can't search any of them.
I can't attach this file because it's too big, but I created an imap log. In this log I start Thunderbird, search an imap folder for messages containing 'Important', which finds nothing. (But should.) I then quit. The file is hosted at: http://www.gigasize.com/get.php/1848/tbird-imap.log
did you do a custom search on the keyword header? Instead of using the "tags" dropdown? The imap search that was generated looked like you searched for the keyword header.
Nope, I just used the regular 'Tags' dropdown.
Confirmed for branch Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b1) Gecko/20060815 Thunderbird/2.0a1 ID:2006081503. Works fine on trunk though (Thunderbird/3.0a1 ID:2006081503).
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X 10.4 → All
Hardware: Macintosh → All
perhaps I messed up applying the changes to the 1.8.1 branch from the trunk. I'll check that out.
that must be what happened...
Assignee: mscott → bienvenu
Flags: blocking-thunderbird2?
fixed on the 1.8.1 branch by landing the fix for bug 79767
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Flags: blocking-thunderbird2?
I see this bug (or the same symptoms) again in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060911 Thunderbird/2.0a1 ID:2006091104. View works, searching on local folders also works. The problem is not tag-specific. Unfortunately I can't give a regression range. There wasn't a change in nsMsgSearchAdapter.cpp for 1.8.1 branch. "Saving as Search Folder" works for the same query, also with the "Search Online" option. So, only the instant search on IMAP folders doesn't show any results. Can somebody confirm this?
I can confirm this behaviour still exists in Thunderbird release 2.0.0.0 on Windows and is not fixed. As per Commment #10 only the instant search on IMAP folders doesn't show any results. A saved search folder shows the correct result. PB
I'm using IMAP and TB 2.0.0.4. This bug should be reopened... I was working on an extension for a client involving tags and had no problems on Linux, but on Windows I've encountered this bug. Oddly, saved searches work fine. It's only the "Search Messages" dialog that fails to find results.
Submitted bug 384835
You need to log in before you can comment on or make changes to this bug.