Closed Bug 494487 Opened 16 years ago Closed 16 years ago

QuickSearchDBView::ExpansionDelta is wrong for expanded threads

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(1 file)

Attached patch proposed fixSplinter Review
ExpansionDelta is supposed to return a negative number for expanded threads, but it does not for quick search db views. This causes issues when new messages arrive in a quick search db view and we try to move threads. MoveThreadAt uses the expansion delta to figure out how many children there are, and it adjusts the sign of the result if the thread is expanded (see nsMsgThreadedDBView::MoveThreadAt).
Attachment #379255 - Flags: superreview?(bugzilla)
Attachment #379255 - Flags: review?(bugzilla)
note this only affects single folder saved searches, and quick search views.
Attachment #379255 - Flags: superreview?(bugzilla)
Attachment #379255 - Flags: superreview+
Attachment #379255 - Flags: review?(bugzilla)
Attachment #379255 - Flags: review+
fix checked in.
Status: NEW → 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: