Bug 640327

Summary: Subject sort is not ordered correctly
Product: [Fedora] Fedora Reporter: Warren Sturm <warren.sturm>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: lucilanga, mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-07 08:02:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screen Capture for subject sort
none
Evolution 2.28.3 Subject sort example for same folder none

Description Warren Sturm 2010-10-05 15:00:33 UTC
Description of problem:
Subject sort order seems to be broken again

Version-Release number of selected component (if applicable):
evolution 2.30.3

How reproducible:
Always

Steps to Reproduce:
1. Click on Subject header
2.
3.
  
Actual results:

some sorting is done but it is not correct

Expected results:

Correct sort order

Additional info:

Comment 1 Matthew Barnes 2010-10-05 19:06:58 UTC
Can you please clarify what you mean by "correct"?  A screenshot would be helpful.

Comment 2 Warren Sturm 2010-10-05 19:23:04 UTC
Created attachment 451754 [details]
Screen Capture for subject sort

Comment 3 Warren Sturm 2010-10-05 19:36:35 UTC
Created attachment 451757 [details]
Evolution 2.28.3 Subject sort example for same folder

Comment 4 Milan Crha 2010-10-06 07:34:21 UTC
Thanks for a bug report. Am I right that the 2.28.3 is not using Group By Thread, but 2.30.3 is using Group By Thread? And when you turn that option off, will it sort by Subject correctly in 2.30.3, and when you turn that on in 2.28.3, will it also break sorting?

Comment 5 Warren Sturm 2010-10-06 14:02:14 UTC
Neither is using group by thread.  Trying it made no difference in sort order in the example folder in the screen shot.

Comment 6 Milan Crha 2010-10-07 08:02:56 UTC
Ah, thanks, I realized I can reproduce it too. I filled an upstream bug [1] for the issue, which also contains a patch to fix it. There was no code change, thus you can apply that patch (or that simple change) to your evolution too, concretely on the file:
  /usr/share/evolution/2.30/etspec/message-list.etspec

and it'll start to work as soon as you restart evolution.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=631588