Bug 263023

Summary: Wrong ordering in message list
Product: [Applications] KMail Mobile Reporter: Bjoern Ricks <bjoern.ricks>
Component: generalAssignee: Ludwig Reiter <ludwig.reiter>
Status: VERIFIED FIXED    
Severity: normal CC: aheinecke
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Windows CE   
OS: Microsoft Windows CE   
Latest Commit: Version Fixed In:
Attachments: Messages not sorted by datetime
message list on n900 (emails in thread don't belong to the same thread)
message in thread which don't belong to each other

Description Bjoern Ricks 2011-01-13 15:06:04 UTC
Created attachment 55960 [details]
Messages not sorted by datetime

After receiving several mails today the ordering of the mail in the message list is wrong. It should be sorted by datetime as set in the settings dialog.
Comment 1 Bjoern Ricks 2011-01-13 15:24:28 UTC
Strange thing. Now the first and the second message are grouped.
Changing the Message Display Format and unmark Show threads I am getting the same behavior as in the screenshot
Comment 2 Bjoern Ricks 2011-01-14 09:49:41 UTC
Created attachment 55998 [details]
message list on n900 (emails in thread don't belong to the same thread)
Comment 3 Bjoern Ricks 2011-01-14 09:50:15 UTC
Created attachment 55999 [details]
message in thread which don't belong to each other
Comment 4 Bjoern Ricks 2011-01-14 10:32:11 UTC
On maemo after inserting some text for quicksearch and removing it the message list is shown correctly. But going up one folder and back it's again wrong.
Comment 5 Bjoern Ricks 2011-01-14 10:50:32 UTC
On wince the emails 1 and 2 (from https://bugs.kde.org/attachment.cgi?id=55998) are in the same thread.
Comment 6 Tobias Koenig 2011-01-31 10:44:20 UTC
Git commit 49f5455b3e8df958b949ffbe5c4e3d6591f40faa by Tobias Koenig.
Pushed by tokoe into branch 'master'.

Fix displaying of time in message list

If the messages have 'Date:' headers from different timezones, the
sorting algorithm sorts them in the right order, but the list view
shows the timezone specific date. So the user had the impression
that sorting is broken, because a mail with 09:25 (GMT) had been placed
between 10:28 (GMT+1) and 10:15 (GMT+1).

BUG: 263023

M  +1    -1    mobile/mail/messagelistproxy.cpp     

http://commits.kde.org/ee6cc38b/49f5455b3e8df958b949ffbe5c4e3d6591f40faa