Bug 84256 - Threading a mix of send and received messages
Summary: Threading a mix of send and received messages
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.6.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-30 13:01 UTC by Tom Albers
Modified: 2009-12-06 16:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Wrong threading (24.64 KB, image/png)
2004-06-30 13:02 UTC, Tom Albers
Details
no subject threading (21.29 KB, image/png)
2004-06-30 22:17 UTC, Tom Albers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Albers 2004-06-30 13:01:45 UTC
Version:           1.6.2 (using KDE 3.2.2, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:                Linux (i686) release 2.6.3-gentoo-r1

Hi,

Threading of received messages is very cool. Only if you store the send messages in the same folder the threading is not correct. Maybe you're able to fix this. 

I will include a screenie so you can see the problem more clearly. I only reply to Heather and she only replies to me on that message.

thnxs.

Tom
Comment 1 Tom Albers 2004-06-30 13:02:39 UTC
Created attachment 6523 [details]
Wrong threading
Comment 2 Till Adam 2004-06-30 21:42:26 UTC
Tom, what happens when you deactivate "Thread messages also by subject" in this folder? Do they get scattered?

Btw, glad you like "Keep replies in this folder" :).
Comment 3 Tom Albers 2004-06-30 22:17:45 UTC
Created attachment 6527 [details]
no subject threading

I'll leave it to your judgement if you call this scattered.

(btw, Yes, I love your keep reply in this folder function. I'm glad this
overrides the setting in of the used profile. Which helps me partly overcome 
http://bugs.kde.org/show_bug.cgi?id=81416 so well done!)
Comment 4 Till Adam 2004-06-30 22:46:34 UTC
Ok, this is what I suspected. Your replies (the sent ones) are proper replies with correct In-Reply-To headers (of course, after all KMail creates them ;), but the other half of the conversation has to be subject threaded, apparently, because it is missing In-Reply-To or References headers. I would bet that they were generated by OL/Exchange or something similarly broken. The problem is that due to the way the threading algorithm works the messages that can be threaded perfectly are threaded and only aftwards are the parents of those mini-threads considered as parents for subject threading. This means that mails that are not toplevel after the regular threading pass will never be parents of subject-threaded mails. The result is the slightly off threading you see. I will try to come up with a workaround that improves this particular case, but I don't want to break the other (more common) cases which led me to the current threading algorithm. In short, and now that you have read through more info on threading than you ever wanted to get, I'll see what I can do, but don't hold your breath. ;)
Comment 5 Tom Albers 2004-06-30 23:01:45 UTC
For the record it was a "X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0" mail client. 

Thanks for looking into it. I can now imagen that a fix could result in other problems. I'll wait. And btw it is nice to read some background info on this.
Comment 6 Costia Desch 2004-07-31 04:42:22 UTC
If you would look into bug# 61891 - I discussed a mechanizm to resolve 
threading issues for different mailboxes

Comment 7 Thomas McGuire 2008-11-29 15:22:43 UTC
Assigning back bugs that weren't taken care of to kdepim-bugs.
Comment 8 Tom Albers 2009-08-01 22:25:22 UTC
No longer relevant for me.