Closed Bug 288524 Opened 20 years ago Closed 19 years ago

Clicking a message-list column header to sort messages breaks threading

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Assigned: mscott)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: 

In Thunderbird, when viewing a message list (either mail or news), if a threaded
view is selected and a column header is clicked to use that column to sort, the
new list is unthreaded.  Threaded view should persist across sorts until
explicitly unselected by the user; only the ascending/descending option and the
attribute sorted by should change when clicking on a column.

In fact the View -> Sort by submenu appears to be designed with this correct
behavior in mind; the threading/grouping, ascending/descending, and attribute
criteria have separators between them, but the proper independence is not
preserved with respect to the threading option.

Ultimately sorting by date and then re-enabling threading gives the desired
display, but the extra step is a) annoying and b) time-consuming when dealing
with a list of say, 100,000 USENET messages to be de-threaded and then
re-threaded unnecessarily.

Reproducible: Always

Steps to Reproduce:
1. In Thunderbird, view a message list in threaded mode.
2. Click the Date column header to sort by date.
Actual Results:  
The messages are dethreaded and individually sorted by date.

Expected Results:  
Kept the messages threaded, and sorted the threads by date.
there's a hidden pref that gives you the behaviour you want:

"mailnews.thread_pane_column_unthreads"

set it to false in user.js - I believe seamonkey has a ui for this pref, but
tbird does not.
*** Bug 302061 has been marked as a duplicate of this bug. ***
Actually, the pref file is mailnews.js, and is located in C:\Program
Files\Mozilla Thunderbird\defaults\pref. Not sure why this isn't stored under
Documents and Settings, but setting it seems to work.
it is - you just found the default prefs.js - you want the real one, which is
under documents and settings/<user name>application data/thunderbird/<profile dir/
The prefs.js in my profile dir doesn't have the
mailnews.thread_pane_column_unthreads property.
(In reply to comment #6)
> The prefs.js in my profile dir doesn't have the
> mailnews.thread_pane_column_unthreads property.

Then add one:
  user_pref("mailnews.thread_pane_column_unthreads", false);
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
I think marking this as RESOLVED - WORKSFORME is premature, unless the default
behavior has now been changed to preserve threading when resorting messages.
You need to log in before you can comment on or make changes to this bug.