After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692557 - Add option to always sort thread children ascending
Add option to always sort thread children ascending
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2013-01-25 20:19 UTC by Alexander van Loon
Modified: 2015-04-24 08:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sorted with date descending (386.98 KB, image/png)
2013-01-25 20:19 UTC, Alexander van Loon
Details

Description Alexander van Loon 2013-01-25 20:19:54 UTC
Created attachment 234444 [details]
sorted with date descending

I like to have my most recent e-mail on top of the list, so I sort my messages with date descending, unlike the default of date ascending (in bug #692529 I suggested that descending be made the default).

The consequence is that the thread view is disrupted. Take a look at the screenshot, at the highlighted message in the list. The first e-mail which starts the thread was sent on 18:19. The second e-mail in the thread (below the first one) was sent on 19:19 and should in fact have been the last e-mail in the thread if it was chronologically correct. The third e-mail in the thread should have been the second and was sent on 19:03.

The "fix" for this is to sort by date ascending, then the chronology is correct. But this is of course not what I want because then I'd need to scroll all the way down to get to my most recent messages.
Comment 1 Milan Crha 2015-03-10 15:43:33 UTC
Thanks for a bug report. It seems to me that what you want is to sort level 0 by one order and the other levels by another order, while only the level 0 will be changeable by users. That might probably do it. I think there is filled another similar bug report already.
Comment 2 Milan Crha 2015-04-24 08:38:20 UTC
I fixed this with the below commit. The added option is available only through GSettings, it's org.gnome.evolution.mail thread-children-ascending, default value true. That way only the root level of the message list follows user's setting for sort, while the children nodes are always sorted ascending. The side-effect of the turned-on option is that the children nodes also ignore thread-latest option.

Created commit 78ed4ca in evo master (3.17.1+)