Open Bug 1257826 Opened 8 years ago Updated 2 years ago

Incorrect sort order in unified folders using threaded view when sorted by "Received" (see comment #14)

Categories

(Thunderbird :: Folder and Message Lists, defect)

38 Branch
defect

Tracking

(Not tracked)

People

(Reporter: frommozilla.comhash69, Unassigned)

References

Details

Attachments

(1 file, 5 obsolete files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160303134406

Steps to reproduce:

Set sort to:
Received
Descending
Threaded

Have at least 2 messages in a thread and have other message received during time between first and last threaded messages.


Actual results:

The thread shows at the bottom in unified view, but when switching to the original folder with exact same sorting, the thread shows on top.


Expected results:

Thread should be shown on top of the list, because the received date of the last message in the thread is newer.
Attachment #8732528 - Attachment is obsolete: true
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hmmm it seems it's indeed related to unified folder after all as I originally thought.


What I'm getting right now is inconsistency in sorting in unified folder when order is changed in received column (non-unified folder sorts/order correctly as per your screenshot)

So what I'm getting is when order is descending, changing it to ascending and then again to descending the thread sortes by most recent message. Changing order again to ascending and then back to descending sorts thread by oldest message. Repeat changing order will sort thread by most recent message again. And there it goes in the loop like that.

If it makes any difference I'm using IMAP servers.
Confirmed on a local unified folder. When sorting by "Received" the sort order is wrong every second time.

Screen shot coming.
Flags: needinfo?(mkmelin+mozilla)
Summary: Incorrect sort order in threaded view when sorted by "Received" → Incorrect sort order in unified folders using threaded view when sorted by "Received"
Once it works, and then it doesn't. Puzzling!
Attachment #8732496 - Attachment is obsolete: true
Attachment #8732529 - Attachment is obsolete: true
Attachment #8732530 - Attachment is obsolete: true
Attachment #8732533 - Attachment is obsolete: true
Summary: Incorrect sort order in unified folders using threaded view when sorted by "Received" → Incorrect sort order in unified folders using threaded view when sorted by "Received" (see comment #14)
Aceman, we have defined what is "right": When sorting by date or received, the sort order of a thread is the date or received of the most recent message. This is the current accepted behaviour (ignoring the discussion in bug 254159).

The bug reported here is the following: When you have a *unified* folder and you change the sort order by received from descending to ascending and back, and to ascending again and back, you get different orders in the "descending" state (and maybe in the "ascending" state also, we haven't looked). On time the order is correct and another time the order is wrong, see attachment 8732537 [details].

Would you be interested in looking into it? Surely there is a line missing somewhere that does a reset on something ;-)
Flags: needinfo?(acelists)
(not good idea to have confirmed bug reports in Untriaged component)
Component: Untriaged → Folder and Message Lists
I'm surprised that such a serious bug has gone unfixed for two years.

As the others I have sort order set to *received* *descending* and view set to *threaded*

What I'm seeing is that the sort order of my unified inbox is only correct if I toggle threaded *off* then back on again.

If I do not toggle the threading, then:

* new incoming messages unrelated to a thread appear correctly at the top
* new incoming messages related to an existing thread get positioned correctly within that thread, but the thread stays where it was, months or even years down. 

This is quite a serious problem because it means I am unlikely to see replies to threads that are more than a day or two old unless I remember to toggle off the threaded view and toggle it back on. A user who is unaware of this bug is unlikely to do this, and would therefore never see a substantial number of new incoming messages.

This is with thunderbird 52.4.0 32 bit.
Same problem here!!!

On TB 52.8.0.

Why not fixed? I am losing mail sent to be as I do NOT see the replies.

I have the ORIGINAL message I sent a replt to, and it might be 3 days ago. A reply comes in for my reply and folds in underneath that original message I replied to, but it is OFF the screen due to the length of time between the original I replied to. I can get the SORT to be correct by going to the menu bar and VIEW and SORT and selecting another sort and then clicking Received. Then the message list is SORTED properly. I have to do this EVERY time or I will lose sight on new replies.

The reason I have to use this sort is due to my ISP poor handling of e-mails. I have Spectrum that was Brighthouse. They use RoadRunner for e-mail. However it first goes to the old Time Warner servers that Spectrum also owns and then sent to the servers with my ID on it. The DELAYS can be significant, especially for e-mail with the same CLF.RR.COM domain. Sometimes over 48 hours. So sorting on SENT also keeps the NEW e-mail way down the list and off-screen. At least with RECEIVED sort the original is on top (sort so the newest is on the top)and I get to see it no matter when sent. However this bug does cause me to MISS replies. PLEASE FIX...
Flags: needinfo?(acelists)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: