If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

QuickSearchDBView::ExpansionDelta is wrong for expanded threads

RESOLVED FIXED

Status

Thunderbird
Folder and Message Lists
RESOLVED FIXED
9 years ago
8 years ago

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Tracking

Trunk
x86
Windows Vista

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
Created attachment 379255 [details] [diff] [review]
proposed fix

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)
(Assignee)

Comment 1

9 years ago
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+
(Assignee)

Comment 2

8 years ago
fix checked in.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.