Closed Bug 1894896 Opened 19 days ago Closed 15 days ago

Changing sort in grouped-by unified folders doesn't work properly

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 126
defect

Tracking

(thunderbird126? affected)

RESOLVED FIXED
127 Branch
Tracking Status
thunderbird126 ? affected

People

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

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

  1. Create a unified folder (threaded, sorted by date).
  2. Sort by correspondents.
  3. Sort by grouped-by-sort.
  4. Click on "Correspondents" to reverse the sort order.

Expected result:
Sort order is reversed, view keeps grouped-by-sort.

Actual result:
View reverts to unthreaded sorted by date, while the "Correspondents" headers keeps the sort indicator.

I am sorry that we find so many regressions which are caused by moving from columnType to columnId. I tried to do test-driven-development, and it looks like a lot of behavior was not properly tested before. Thanks for your work on this, Hartmut.

No worries, DBViewWrapper is just a quite convoluted piece of code we need to untangle in my opinion. I'll see what I can do!

Assignee: nobody → h.w.forms

This fixes the following issues:

  • Selecting Grouped By Sort in a unified folder doesn't work properly under certain circumstances.
  • In a single-folder view with bySize as the secondary sort, selecting Grouped By Sort always uses byDate as the sort type.
  • In a multi-folder view with bySize as the primary sort, selecting Grouped By Sort destroys the view.
Status: NEW → ASSIGNED
Depends on: 1893799
Blocks: 1893793
See Also: → 1895600
Target Milestone: --- → 127 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/97d52c514471
Fix problems regarding Grouped By Sort views. r=john.bieling

Status: ASSIGNED → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: