message order wrong in tree-mode of messages list
Categories
(Thunderbird :: Folder and Message Lists, defect)
Tracking
(Not tracked)
People
(Reporter: podubrin, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Received and directly answered multiply messages in the same context (subject).
Lateron moved sent aswell as received messages into another folder, to have question and answers together in one single thread.
Changed list order from ordered by date only (LIFO)
to ordered by context tree and date (LIFO for the context trees, FIFO inside tree).
Actual results:
The tree is not in expected order (oldest message first, latest message last);
Instead oldest messages are sorted somewhere right into the middle of the tree.
Example: OSC sent the initiating message, POD was forwarding/answering
Order is:
< Re Nur für Musikfreunde - OSC - 2019-08-09 1436
Re Nur für Musikfreunde - POD - 2019-08-09 1520
< Re Nur für Musikfreunde - OSC - 2019-08-09 1543
< Nur für Musikfreunde - OSC - 2019-08-09 1209
> Fwd Nur für Musikfreunde - POD - 2019-08-09 1212
> Re Nur für Musikfreunde - POD - 2019-08-09 1338
< Re Nur für Musikfreunde - OSC - 2019-08-09 1407
> Re Nur für Musikfreunde - POD - 2019-08-09 1411
Re Nur für Musikfreunde - POD - 2019-08-09 1617
< Re Nur für Musikfreunde - OSC - 2019-08-12 1012
> Re Nur für Musikfreunde - POD - 2019-08-12 1032
< Re Nur für Musikfreunde - OSC - 2019-08-12 1038
> Re Nur für Musikfreunde - POD - 2019-08-12 1341
If visualized with tree option switched off latest message first (LIFO), the correct order is shown:
Re Nur für Musikfreunde - POD - 2019-08-12 1341
< Re Nur für Musikfreunde - OSC - 2019-08-12 1038
Re Nur für Musikfreunde - POD - 2019-08-12 1032
< Re Nur für Musikfreunde - OSC - 2019-08-12 1012
Re Nur für Musikfreunde - POD - 2019-08-09 1617
< Re Nur für Musikfreunde - OSC - 2019-08-09 1543
Re Nur für Musikfreunde - POD - 2019-08-09 1520
< Re Nur für Musikfreunde - OSC - 2019-08-09 1436
Re Nur für Musikfreunde - POD - 2019-08-09 1411
< Re Nur für Musikfreunde - OSC - 2019-08-09 1407
Re Nur für Musikfreunde - POD - 2019-08-09 1338
Fwd Nur für Musikfreunde - POD - 2019-08-09 1212
< Nur für Musikfreunde - OSC - 2019-08-09 1209
Expected results:
The tree should be ordered "treelike": older messages should reside nearer to tree root than younger.
Root of tree should be the first message ever in the context.
Branches of the tree should never descend in date.
Order should be:
< Nur für Musikfreunde - OSC - 2019-08-09 1209
Fwd Nur für Musikfreunde - POD - 2019-08-09 1212
Re Nur für Musikfreunde - POD - 2019-08-09 1338
< Re Nur für Musikfreunde - OSC - 2019-08-09 1407
> Re Nur für Musikfreunde - POD - 2019-08-09 1411
< Re Nur für Musikfreunde - OSC - 2019-08-09 1436
> Re Nur für Musikfreunde - POD - 2019-08-09 1520
< Re Nur für Musikfreunde - OSC - 2019-08-09 1543
> Re Nur für Musikfreunde - POD - 2019-08-09 1617
< Re Nur für Musikfreunde - OSC - 2019-08-12 1012
> Re Nur für Musikfreunde - POD - 2019-08-12 1032
< Re Nur für Musikfreunde - OSC - 2019-08-12 1038
> Re Nur für Musikfreunde - POD - 2019-08-12 1341
| Reporter | ||
Comment 1•7 years ago
|
||
Some of the leading Brackets are swallowed by Bugzilla client.
This may cause some confusion!
I'll try to attach the lists again with html-style brackets...
List in tree-mode as actually shown (faulty):
< Re Nur für Musikfreunde - OSC - 2019-08-09 1436
> Re Nur für Musikfreunde - POD - 2019-08-09 1520
< Re Nur für Musikfreunde - OSC - 2019-08-09 1543
< Nur für Musikfreunde - OSC - 2019-08-09 1209
> Fwd Nur für Musikfreunde - POD - 2019-08-09 1212
> Re Nur für Musikfreunde - POD - 2019-08-09 1338
< Re Nur für Musikfreunde - OSC - 2019-08-09 1407
> Re Nur für Musikfreunde - POD - 2019-08-09 1411
> Re Nur für Musikfreunde - POD - 2019-08-09 1617
< Re Nur für Musikfreunde - OSC - 2019-08-12 1012
> Re Nur für Musikfreunde - POD - 2019-08-12 1032
< Re Nur für Musikfreunde - OSC - 2019-08-12 1038
> Re Nur für Musikfreunde - POD - 2019-08-12 1341
List with tree-mode switched off (correct):
> Re Nur für Musikfreunde - POD - 2019-08-12 1341
< Re Nur für Musikfreunde - OSC - 2019-08-12 1038
> Re Nur für Musikfreunde - POD - 2019-08-12 1032
< Re Nur für Musikfreunde - OSC - 2019-08-12 1012
> Re Nur für Musikfreunde - POD - 2019-08-09 1617
< Re Nur für Musikfreunde - OSC - 2019-08-09 1543
> Re Nur für Musikfreunde - POD - 2019-08-09 1520
< Re Nur für Musikfreunde - OSC - 2019-08-09 1436
> Re Nur für Musikfreunde - POD - 2019-08-09 1411
< Re Nur für Musikfreunde - OSC - 2019-08-09 1407
> Re Nur für Musikfreunde - POD - 2019-08-09 1338
> Fwd Nur für Musikfreunde - POD - 2019-08-09 1212
< Nur für Musikfreunde - OSC - 2019-08-09 1209
List in tree-mode as it correctly should be shown:
< Nur für Musikfreunde - OSC - 2019-08-09 1209
> Fwd Nur für Musikfreunde - POD - 2019-08-09 1212
> Re Nur für Musikfreunde - POD - 2019-08-09 1338
< Re Nur für Musikfreunde - OSC - 2019-08-09 1407
> Re Nur für Musikfreunde - POD - 2019-08-09 1411
< Re Nur für Musikfreunde - OSC - 2019-08-09 1436
> Re Nur für Musikfreunde - POD - 2019-08-09 1520
< Re Nur für Musikfreunde - OSC - 2019-08-09 1543
> Re Nur für Musikfreunde - POD - 2019-08-09 1617
< Re Nur für Musikfreunde - OSC - 2019-08-12 1012
> Re Nur für Musikfreunde - POD - 2019-08-12 1032
< Re Nur für Musikfreunde - OSC - 2019-08-12 1038
> Re Nur für Musikfreunde - POD - 2019-08-12 1341
Comment 2•7 years ago
|
||
I think you're mistaken. The threading works by message reference. So you only get your "desired layout" if everyone in the thread always answers the last message. If someone answers, say, the first message, you create another subtree from there.
Right, Magnus/Alta88? This is invalid.
Comment 3•7 years ago
|
||
Per current design yes.
I would agree current design isn't super working n practice because many people don't pay attention to what they are responding to, and some mail clients also mess up with the references.... It would be better to have an almost flattened tree structure with chronological responses but easy access to the real reference message.
| Reporter | ||
Comment 4•7 years ago
|
||
@Jorg K:
I agree in principle. This is in fact a scenario, where more than one orders are to expect, depending on what messages were answered. But I doublechecked for this before launching this issue. You can do this by analysing the indents of texts that are cited. But more clearly it is shown to be a misbehaviour, when you notice the tree's root, which is not the first message at all. This I would expect, for any messages the participients answer to.
@Magnus Melin:
If there is payed attention to what message was answered to (like Jorg K pointed out), I would say, it worked in earlier versions (but sorry, I can't say 'till when) as I would have expected it. I would not say that there is a need for a general redesign, though. But it seems to be broken now. I'd rather like it being fixed than changed...
Nothing useful can be said about this without examining the reference for each message, to determine if they should be (strictly) threaded. It's possible a folder repair fixes threading (if there are correct references). Also, there are prefs:
mail.correct_threading
mail.strict_threading
mail.thread_without_re
that alter behavior, in particular the last will thread by subject (maybe useful for no references cases).
The best solution is to enable the user to dnd thread (and allow unthreading) messages with aren't correctly threaded. I do this in an extension, it should be a core feature. If someone automagically finds resources for something like this, let me know.
| Reporter | ||
Comment 6•7 years ago
|
||
I took the below-mentioned infos (shortened) from the eml files of the messages, and here you are.
Message-ID and In-Reply-To are chained all correct.
But in References, there is a total data loss between 15:20 and 15:43 of the 9th of August, which seems to be the cause of the broken chain.
So far, so good, but why - if we have two separated Reference chains - isn't the older one taken as the tree's root?
I still think this is a mistake...
And btw.:
mail.correct_threading was set to standard; true;
mail.strict_threading was set to standard; true;
mail.thread_without_re was set to standard; false;
| Message | Message-ID | In-Reply-To | References |
|---|---|---|---|
| > Re Nur für Musikfreunde - POD - 2019-08-12 1341 | <c17fe046-...> | <bf3c85f9-...> | <55b9df10-...><3356f2bfc...><409f9303-...><3a325ba0-...><2c259dfb-...><bf3c85f9-...> |
| < Re Nur für Musikfreunde - OSC - 2019-08-12 1038 | <bf3c85f9-...> | <2c259dfb-...> | <55b9df10-...><3356f2bfc...><409f9303-...><3a325ba0-...><2c259dfb-...> |
| > Re Nur für Musikfreunde - POD - 2019-08-12 1032 | <2c259dfb-...> | <3a325ba0-...> | <55b9df10-...><3356f2bfc...><409f9303-...><3a325ba0-...> |
| < Re Nur für Musikfreunde - OSC - 2019-08-12 1012 | <3a325ba0-...> | <409f9303-...> | <55b9df10-...><3356f2bfc...><409f9303-...> |
| > Re Nur für Musikfreunde - POD - 2019-08-09 1617 | <409f9303-...> | <3356f2bfc...> | <55b9df10-...><3356f2bfc...> |
| < Re Nur für Musikfreunde - OSC - 2019-08-09 1543 | <3356f2bfc...> | <55b9df10-...> | <55b9df10-...> |
| > Re Nur für Musikfreunde - POD - 2019-08-09 1520 | <55b9df10-...> | <09252378-...> | <1943a645-...><e2a4abb4-...><b2f8d087-...><89c8fc2b-...><09252378-...> |
| < Re Nur für Musikfreunde - OSC - 2019-08-09 1436 | <09252378-...> | <89c8fc2b-...> | <1943a645-...><e2a4abb4-...><b2f8d087-...><89c8fc2b-...> |
| > Re Nur für Musikfreunde - POD - 2019-08-09 1411 | <89c8fc2b-...> | <b2f8d087-...> | <1943a645-...><e2a4abb4-...><b2f8d087-...> |
| < Re Nur für Musikfreunde - OSC - 2019-08-09 1407 | <b2f8d087-...> | <e2a4abb4-...> | <1943a645-...><e2a4abb4-...> |
| > Re Nur für Musikfreunde - POD - 2019-08-09 1338 | <e2a4abb4-...> | <1943a645-...> | <1943a645-...> |
| > Fwd Nur für Musikfreunde - POD - 2019-08-09 1212 | <874f7bb0-...> | <1943a645-...> | <1943a645-...> |
| < Nur für Musikfreunde - OSC - 2019-08-09 1209 | <1943a645-...> | - | - |
Why don't you try playing with those prefs and see if there's any difference. You may need to repair folder each change.
| Reporter | ||
Comment 8•7 years ago
|
||
I simply don't know, what they are supposed to do.
To me, it sounds kind of strange, to vary the states of a couple of unknown switches with a held-for-an-irregular-behaviour in the beginning...
Are the switches documented anywhere?
Comment 9•7 years ago
|
||
Sadly some of the preferences are only documented in code. I'd open the config editor and manipulate
mail.correct_threading
mail.strict_threading
mail.thread_without_re
best, one at a time. Since the message order might be baked into the message database, you might need to repair the folder after each change to see an effect. Repair folder is on "Right-click folder, Properties".
Updated•4 years ago
|
Comment 10•3 years ago
|
||
Andreas,
Does this still reproduce in version 115?
| Reporter | ||
Comment 11•3 years ago
|
||
Hhhmmm...
Don't know, since I have 102.15.0 (32-Bit) and it stated, to be on the latest (Update channel "release").
What kind of version is 115? Or do you mean 102.15.0?
But anyway, it seems to be gone somewhen; I haven't had this kind of trouble for a long time.
(I tried to avoid the issue by no longer merging in this way, I only added to existing threads though...)
According to my latest checks even the formerly wrong ordered thread seems to be now wellformed.
I guess, it was healed as a side effect?
apo.
Comment 12•1 year ago
|
||
But anyway, it seems to be gone somewhen; I haven't had this kind of trouble for a long time.
Thanks for the update
Description
•