Closed Bug 1895097 Opened 5 months ago Closed 5 months ago

Single-folder saved searches and quick-filtered views always open with all threads expanded.

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 127
defect

Tracking

(thunderbird_esr115 unaffected, thunderbird127 fixed)

RESOLVED FIXED
128 Branch
Tracking Status
thunderbird_esr115 --- unaffected
thunderbird127 --- fixed

People

(Reporter: welpy-cw, Assigned: welpy-cw)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

A previously set collapse-all state isn't restored in saved searches covering only a single-folder, while using quick-filter in a single folder opens all found threads expanded.

  • Fix a recent regression (bug 1892074) by restoring the thread state when all messages have been loaded in any view searching one or more folders.
  • Enable DBViewWrapper._threadExpandAll and threadPane.restoreThreadState() for synthetic views as well. This is necessary to use Grouped-By-Sort in Expand-All state without performance impact.
Blocks: 1893793
Attachment #9400146 - Attachment description: WIP: Bug 1895097 - Fix and extend restoreThreadState(). → Bug 1895097 - Fix and extend restoreThreadState(). r=#thunderbird-reviewers
Status: NEW → ASSIGNED
Target Milestone: --- → 128 Branch

Pushed by benc@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/aad56bdf4f76
Fix and extend restoreThreadState(). r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED

Comment on attachment 9400146 [details]
Bug 1895097 - Fix and extend restoreThreadState(). r=#thunderbird-reviewers

[Approval Request Comment]
Approved for beta

Attachment #9400146 - Flags: approval-comm-beta+
Regressions: 1905912
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: