Bug 312608 - kmail thread sorting , aggregation - thread leader - most recent message , is not working right
Summary: kmail thread sorting , aggregation - thread leader - most recent message , is...
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 5.3.3
Platform: Ubuntu Linux
: NOR normal with 5 votes (vote)
Target Milestone: ---
Assignee: kdepim bugs
Depends on:
Reported: 2013-01-04 15:34 UTC by avlas
Modified: 2022-09-25 18:38 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description avlas 2013-01-04 15:34:21 UTC
I suffer the same issue that was reported before in opensuse:


I guess this should have been submitted to KDE directly:

In kmail, when you select in aggregation if you select most recent message as
thread leader, thread is still sorted from your first (oldest) message to you
last (newest). This only add thread to correct group according to last message

My understanding is that thread in this case, shall be sorted from thread
For example
my last message - thread leader
 - message before
   - oldest (first) message

Existing behavior is either bug or there is missing option which will force
kmail to sort messages from newest message in thread.

Reproducible: Always

Steps to Reproduce:
1. kmail - configure - appearance - default aggregation - configure - groups &
threading - thread leader - select "most recent message"
2. check your message list (list of your emails)
Actual Results:  
messages in thread sorted from oldest (on top) to newest (on bottom)

Expected Results:  
messages in thread sorted from newest (on top) to oldest (on bottom)

thread is in correct position within another messages (not part of the thread)
(according to date). However, thread itself is sorted from oldest to newest.
What I'll expect is to have (within thread) newest on top.
Comment 1 Andreas Petzold 2014-03-14 19:30:26 UTC
This is still broken in kmail 4.12.3. This is really a show stopper for me, as new replies to older threads are escaping my attention, because they don't show up on the top of the message list.
Comment 2 Bo 2014-03-31 06:04:56 UTC
Confirmed for me. I thought I had the wrong settings, but this is definitely a bug. Using KMail 4.12.3.
Comment 3 Nat 2016-08-18 02:26:48 UTC
Happening to me too in version 5.2.3.
Comment 4 bj.cardon 2016-12-01 23:45:21 UTC
This bug remains in 5.3.3.

I just want my threads sorted by the latest message in them. PLEASE!
Comment 5 puminya 2016-12-01 23:48:45 UTC
(In reply to bj.cardon from comment #4)
> This bug remains in 5.3.3.
> I just want my threads sorted by the latest message in them. PLEASE!

View > Message List > Sorting > By Date/Time of Most Recent in Subtree
...works for me (with Standard Mailing List Aggregation).
Comment 6 bj.cardon 2016-12-01 23:56:51 UTC
You're right, that does work.

However, I'd like the same style of sorting with the "Activity By Date, Threaded" aggregation style.

For now, this is an improvement.
Comment 7 avlas 2022-09-25 18:38:15 UTC
It's several years since I reported this bug and perhaps we are just a few interested in this, so I wonder if the issue is that devs are busy implementing new features and fixing other more important bugs than this (my appreciation from here for your effort!), or whether the problem (of sorting, so the newest emails in a thread appear at top) is due to some technical difficulty from how threads are implemented in kmail. It would be nice to know :)