Closed Bug 168607 Opened 23 years ago Closed 23 years ago

Quick Search View not getting invalidated after the sort

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mscott, Assigned: naving)

Details

Attachments

(1 file)

This minor issue arose from the new quick search DB view class we recently created. In short, after we do a quick search, we sort the results to match the sort order for the folder. However we seem to be missing an invalidate after the sort. The quick search results are not matching the sort order my folder is in. But if I force a row to repaint itself, I see the right result underneath. Here's my aim excerpt with Navin: BigMacNscp: change your sort order so your most recent mail is at the top BigMacNscp: scroll to the top BigMacNscp: type something into the QS bar like "Scott" BigMacNscp: what I see is mail coming up in the wrong sort order BigMacNscp: so the oldest scott message is first BigMacNscp: however navin1975: yeah, we sort after search is done BigMacNscp: it turns out it is just a painting problem BigMacNscp: if I move a window on top of the mail window we repaint and the most recent scott is on top BigMacNscp: so it looks like when we moved code into the new quick search DB view class, we somehow lost an Invalidate() call after the search is done BigMacNscp: the rows are definetly in the right order in the quick search view class...cause if i force a row to repaint itself I see the correct row
Attached patch proposed fixSplinter Review
Invalidate the tree after sort is done.
Comment on attachment 99174 [details] [diff] [review] proposed fix sr=mscott
Attachment #99174 - Flags: superreview+
fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
Component: MailNews: Search → MailNews: Message Display
QA Contact: laurel → search
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: