Closed
Bug 533865
Opened 15 years ago
Closed 15 years ago
Doing a quick search in a cross-folder saved search clears cached results
Categories
(Thunderbird :: Folder and Message Lists, defect)
Tracking
(blocking-thunderbird3.0 .1+, thunderbird3.0 .1-fixed)
VERIFIED
FIXED
Thunderbird 3.1a1
People
(Reporter: Bienvenu, Assigned: Bienvenu)
References
Details
(Keywords: perf)
Attachments
(1 file, 3 obsolete files)
15.99 KB,
patch
|
standard8
:
review+
standard8
:
superreview+
standard8
:
approval-thunderbird3.0.1+
|
Details | Diff | Splinter Review |
If you do a quick search in a cross-folder saved search (e.g., a smart mailbox), we remove from the cached results the messages that don't match the quick search. This slows down both the quick search, and returning to the saved search. Patch upcoming.
Assignee | ||
Comment 1•15 years ago
|
||
This patch makes cross-folder saved searches compare the base search criteria for the saved search against the current search session's search criteria. If they are different, then we're doing a quick search, and we should not start with the old saved search results, nor should we update the cached results. This is a big performance win for quick search in saved searches, but it doesn't change the correctness of the saved searches, which are already covered by unit tests... This is such a big win that I'd like to think about putting this in a 3.0x release.
Attachment #416822 -
Flags: superreview?(bugzilla)
Attachment #416822 -
Flags: review?(bugzilla)
Attachment #416822 -
Flags: approval-thunderbird3.0.1?
Updated•15 years ago
|
blocking-thunderbird3.0: --- → ?
Assignee | ||
Updated•15 years ago
|
Whiteboard: [has patch for review]
Updated•15 years ago
|
blocking-thunderbird3.0: ? → .1+
Updated•15 years ago
|
Attachment #416822 -
Flags: superreview?(bugzilla)
Attachment #416822 -
Flags: superreview+
Attachment #416822 -
Flags: review?(bugzilla)
Attachment #416822 -
Flags: review+
Comment 4•15 years ago
|
||
Comment on attachment 416822 [details] [diff] [review] proposed fix >- { "Message Filter Service", NS_MSGFILTERSERVICE_CID, >- NS_MSGFILTERSERVICE_CONTRACTID, >- nsMsgFilterServiceConstructor, Can you do the same in mailnews/build/nsMailModule.cpp please - it has the same problem. >+ nsCAutoString stream; nit: I know this is just copy/paste, but can you make that just one space please.
Updated•15 years ago
|
Whiteboard: [has patch for review]
Target Milestone: --- → Thunderbird 3.1a1
Assignee | ||
Comment 7•15 years ago
|
||
this is what I'll check in...I found an issue with the code that converts search terms to strings; it was bailing after the ALL term, which doesn't work for the quick search terms in a smart folder, since quick search includes the all term...
Attachment #416822 -
Attachment is obsolete: true
Attachment #416822 -
Flags: approval-thunderbird3.0.1?
Assignee | ||
Updated•15 years ago
|
Attachment #420426 -
Flags: approval-thunderbird3.0.1?
Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
I just backed this out due to unit test failures in test_viewWrapper_virtualFolder.js (which exists under mail/!): http://tinderbox.mozilla.org/showlog.cgi?log=Thunderbird/1262848429.1262850880.14500.gz#err0
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•15 years ago
|
||
Comment on attachment 420426 [details] [diff] [review] fix addressing comments plus a bug fix Needs some extra test fixes at least ;-)
Attachment #420426 -
Flags: approval-thunderbird3.0.1? → approval-thunderbird3.0.1-
Assignee | ||
Comment 10•15 years ago
|
||
We were skipping the registering of folder listeners when doing quick search in saved searches...this fixes that, and the well-hidden tests pass.
Attachment #420426 -
Attachment is obsolete: true
Attachment #420557 -
Flags: superreview?(bugzilla)
Attachment #420557 -
Flags: review?(bugzilla)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs review for new patch]
Updated•15 years ago
|
Attachment #420557 -
Flags: superreview?(bugzilla)
Attachment #420557 -
Flags: review?(bugzilla)
Attachment #420557 -
Flags: review-
Comment 11•15 years ago
|
||
Comment on attachment 420557 [details] [diff] [review] fix regression found by test... This patch is exactly the same as the last one :-(
Updated•15 years ago
|
Whiteboard: [needs review for new patch] → [needs correct patch]
Assignee | ||
Comment 12•15 years ago
|
||
darnit, this should be the right file...
Attachment #420557 -
Attachment is obsolete: true
Attachment #420885 -
Flags: superreview?(bugzilla)
Attachment #420885 -
Flags: review?(bugzilla)
Updated•15 years ago
|
Attachment #420885 -
Flags: superreview?(bugzilla)
Attachment #420885 -
Flags: superreview+
Attachment #420885 -
Flags: review?(bugzilla)
Attachment #420885 -
Flags: review+
Attachment #420885 -
Flags: approval-thunderbird3.0.1+
Updated•15 years ago
|
Whiteboard: [needs correct patch] → [ready to land]
Assignee | ||
Comment 13•15 years ago
|
||
fixed on trunk and branch.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
status-thunderbird3.0:
--- → .1-fixed
Resolution: --- → FIXED
Whiteboard: [ready to land]
Comment 14•15 years ago
|
||
Difficult to verify - but the search was very speedy on a very large smart folder. and none of the duped bugs symptoms where observed. Tested on XP.
Status: RESOLVED → VERIFIED
Keywords: verified-thunderbird3.0
You need to log in
before you can comment on or make changes to this bug.
Description
•