Bug 391826 - KMail is confused about the order of messages
Summary: KMail is confused about the order of messages
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 5.7.2
Platform: Other Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: kdepim bugs
Depends on:
Reported: 2018-03-13 15:52 UTC by Halla Rempt
Modified: 2021-05-06 14:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:

Screenshot showing the messed up message ordering (360.17 KB, image/png)
2018-03-13 15:53 UTC, Halla Rempt

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2018-03-13 15:52:15 UTC
KMail uses an imap account. 

I selected 25 messages and saved them in a subfolder. Now kmail shows the messages in one order the messages pane, but on selecting a message I actually get a different one, the order there seems to be reversed. See screenshot
Comment 1 Halla Rempt 2018-03-13 15:53:14 UTC
Created attachment 111372 [details]
Screenshot showing the messed up message ordering

Note that I selected the last message from the bottom but that the message shown is the second from the top.
Comment 2 Johannes Studt 2020-04-08 15:41:27 UTC
I've got the same behaviour up to now.

KMail 5.13.3 (19.12.3)
KDE Frameworks 5.68.0
Qt 5.14.1 (kompiliert gegen 5.14.1)

The shit hits the fan when you want to move the mails back or to another sub folder. Selecting by subject line selects and moves the wrong email, and then the chaos is perfect.

The only way to fix the order is:
- moving the emails away using another mail client
- then let KMail recognize the empty folder
- in the next step move the emails back to the folder using the other mail client again
- let KMail recognize the "new" emails

This is _very_ nerve-stretching, as one has to double check all email sorting operations.