Closed Bug 504297 Opened 16 years ago Closed 16 years ago

Message view doesn't always invalidate the tree (possible indication of duplicate messages until scrolled)

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b4

People

(Reporter: standard8, Assigned: Bienvenu)

References

Details

Attachments

(1 file)

Following bug 494811 I noticed one edge case, STR: 1) Select a message 2) Have a new message come in which: - Changes a single message to a thread (on a non-selected message) - Moves the single message to the bottom of the view - Causes the view to scroll Expected results: Message thread displayed as collapsed and threaded. Actual results: Message thread displayed as collapsed and threaded but has words/description of the thread immediately above it causing it to look like a duplicate.
Flags: blocking-thunderbird3+
I'll look at this.
Assignee: nobody → bienvenu
Status: NEW → ASSIGNED
this is a bit tricky to reproduce - it may depend on whether the thread pane tries to scroll or not when the new header arrives. I've found that selecting a message above the one about to get moved to the bottom helps in reproducing this. It must be that we're not invalidating the right set of rows when doing MoveThread.
Attached patch proposed fixSplinter Review
fix off by one error in count of rows to invalidate.
Attachment #391266 - Flags: superreview?(neil)
Attachment #391266 - Flags: review?(neil)
Comment on attachment 391266 [details] [diff] [review] proposed fix Good catch!
Attachment #391266 - Flags: superreview?(neil)
Attachment #391266 - Flags: superreview+
Attachment #391266 - Flags: review?(neil)
Attachment #391266 - Flags: review+
I noticed nsMsgSearchDBView.cpp had the same bug, so I fixed that as well http://hg.mozilla.org/comm-central/rev/f45fd77e8884
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: