Bug 115676

Summary: Sorting by date of arrival incorrect
Product: [Applications] kmail Reporter: Roy Nicholl <RNicholl>
Component: folder listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bug, itlistuser, jtamate, qprana
Priority: NOR Keywords: triaged
Version: 1.8   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Roy Nicholl 2005-11-04 14:34:49 UTC
Version:           1.8 (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs
OS:                Linux

As part of a SuSE upgrade from v9.1 to v9.3, the bundled version of KDE went from v3.2.1 to v3.4 and kmail went from v1.6.2 to v1.8.

In the new version of kmail (v1.8), sorting the messages in a folder by "Date", either ascending or descending produces the same (expected) results as in the previous version.

However sorting messages by "Date (Order of Arrival)" produces drastically different results in under kmail v1.8 than under v1.6.2.  Furthermore, the messages are not sorted by the order in which the arrived into the folder (or to kmail).  

To test this I have pulled messages from the same POP mail account to two different machines - one running Suse v9.1/KDE v3.2.1/Kmail v1.6.2 and the other running SuSE v9.3/KDE v3.4/Kmail v1.8.  In both cases, messages are sorted by "Date (Order of Arrival) ascending".  Under the kmail 1.6.2 instance the messages are in the order in which they were pulled down into kmail.  Under the v1.8 instance the are not; they appear to be ordered based upon the message header, but I have yet to confirm this.

This appears to be similar to an issue which existed in early editions (around v1.1) of Kmail - it may be the resurfacing of that bug.
Comment 1 Thomas McGuire 2008-05-16 18:46:52 UTC
*** Bug 161962 has been marked as a duplicate of this bug. ***
Comment 2 Thomas McGuire 2008-05-16 18:47:06 UTC
*** Bug 162158 has been marked as a duplicate of this bug. ***
Comment 3 Thomas McGuire 2008-05-16 18:48:01 UTC
See also bug 155977
Comment 4 Thomas McGuire 2008-05-16 18:48:49 UTC
*** Bug 144381 has been marked as a duplicate of this bug. ***
Comment 5 Jaime Torres 2008-09-18 13:30:56 UTC
it works as expected in kmail 1.10.1, if the folder is not using threads 
Comment 6 Dominik Tritscher 2008-09-20 00:40:22 UTC
Works here to, using kmail 1.10.1 too.