Closed Bug 1893799 Opened 2 months ago Closed 1 month ago

Changed sort type in a quick-filtered unified folder isn't saved

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 126
defect

Tracking

(thunderbird_esr115 unaffected, thunderbird126 affected)

RESOLVED FIXED
127 Branch
Tracking Status
thunderbird_esr115 --- unaffected
thunderbird126 --- affected

People

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

References

Details

Attachments

(1 file)

Steps to reproduce:

  1. Open a unified folder.
  2. Use the quick filter and type in a letter.
  3. Change the sort type.
  4. Type in another letter, or clear the search.

Expected result:
The sort order is maintained when the search term is changed or cleared.

Actual result:
The sort order reverts to the previous one.

This is exposed by this addition, but I think the actual bug has been hiding in nsMsgSearchDBView. When the quick filter search term is changed, the view's sort is set before any messages have been found. This case should be handled as in nsMsgThreadedDBView.

Calling nsMsgSearchDBView::Sort should save sort type and order in any case.

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Target Milestone: --- → 127 Branch

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/9fb7e6695b3b
Fix changing sort order in quick-filtered cross-folder view. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Blocks: 1894896
See Also: → 702130
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: