Bug 4836 - Wrong tree in NNTP folder
Summary: Wrong tree in NNTP folder
Status: REOPENED
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: UI/Message List (show other bugs)
Version: 4.3.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2024-11-04 10:50 UTC by Jazz Fan
Modified: 2025-05-02 09:38 UTC (History)
0 users

See Also:


Attachments
Robert's message is a child of Martin's although he replied to Oguz in NNTP folder (36.60 KB, image/png)
2024-11-04 10:50 UTC, Jazz Fan
Details
In local test folder Robers't message is correctly placed under Oguz' (36.35 KB, image/png)
2024-11-04 10:51 UTC, Jazz Fan
Details
header of robert's message (2.60 KB, text/plain)
2024-11-04 10:55 UTC, Jazz Fan
Details
header of Oguz' message (5.78 KB, text/plain)
2024-11-04 10:56 UTC, Jazz Fan
Details
header of robert's message (3.81 KB, text/plain)
2024-11-04 11:06 UTC, Jazz Fan
Details

Description Jazz Fan 2024-11-04 10:50:29 UTC
Created attachment 2519 [details]
Robert's message is a child of Martin's although he replied to Oguz in NNTP folder

Hi,

the messages of a particular user (Robert Elz) on the gmane.comp.shells.bash.bugs news group (accessed via the news.gmane.io nntp-server) is always displayed as a child of the message of which it is a grand child. I don't see a reason for that as the headers of his messages appear to be correct, i.e., both the "In-Reply-To:" and the "References:" header list the correct parent the latter does so as the first reference. Indeed, after copying the whole thread to a local folder the tree is displayed correctly there. I attach two screenshots and the headers of Robert's message and of the one he was replying to.
Comment 1 Jazz Fan 2024-11-04 10:51:36 UTC
Created attachment 2520 [details]
In local test folder Robers't message is correctly placed under Oguz'
Comment 2 Jazz Fan 2024-11-04 10:55:13 UTC
Created attachment 2521 [details]
header of robert's message
Comment 3 Jazz Fan 2024-11-04 10:56:14 UTC
Created attachment 2522 [details]
header of Oguz' message
Comment 4 Jazz Fan 2024-11-04 11:04:13 UTC
Comment on attachment 2521 [details]
header of robert's message

Sorry the attachment is not complete.
Comment 5 Jazz Fan 2024-11-04 11:06:15 UTC
Created attachment 2523 [details]
header of robert's message

The complete header
Comment 6 Paul 2024-11-04 11:27:44 UTC
Looking at the archive of the original mailing list (before gmane copied it) shows the wrong threading arrangement: https://lists.gnu.org/archive/html/bug-bash/2024-11/threads.html

I downloaded the mbox archive from lists.gnu.org and, after importing it into Claws Mail, the threading is correct.

What seems to be happening is that in Robert's messsage he has quoted the Message-ID header in the body of his reply, and this 2nd Message-ID seems to be confusing both the gmane newsgroup and the original mailman online archive. But, as you notice, if you copy the whole thread to a separate folder in Claws Mail, Claws Mail is not confused by the 2nd Message-ID header in the body, and actually threads it correctly.

The bug seems to be in mailman archiving (and the gmane copy, which replicates the wrong threading).
Comment 7 Jazz Fan 2024-11-04 12:53:53 UTC
But why then is the threading also wrong in Claws Mail when I view it in the gmane newsgroup folder as can be seen in my first screenshot? Does that mean that in the nntp communication there is separate information on how the messages are threaded which takes precedence over the headers?
Comment 8 Paul 2024-11-04 12:58:14 UTC
(In reply to Jazz Fan from comment #7)
That's hard to tell with the information that you've supplied coupled with the fact that I can't access the gmane server.
Comment 9 Jazz Fan 2024-11-04 13:37:11 UTC
(In reply to Paul from comment #8)
Is there anything I can do to provide more information? I could send the messages of the thread as they are lying in my ~/.claws-mail/newscache/news.gmane.io/gmane.comp.shells.bash.bugs folder.
Comment 10 Paul 2024-11-04 14:14:22 UTC
(In reply to Jazz Fan from comment #9)
Send me the the cache folder directly via email, tarballed. It might shed some light on the situation.
Comment 11 Jazz Fan 2025-05-02 09:38:07 UTC
(In reply to Paul from comment #10)
Just reopening this as Paul confirmed the problem being in the code to display nntp lists after having received the tarball.

Note You need to log in before you can comment on or make changes to this bug.