Version: KMail 1.9.7 (using KDE 3.5.8)
Installed from: Gentoo Packages
Compiler: gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0)
I'm using IMAP folders with my version of KMail. I've seen this bug for a while and decided to finally report it.
It seems to happen in larger mailboxes. For example, the inbox for my main e-mail account has 2610 messages. I've coped with the problem in the past, somewhat, by writing Perl scripts that are fired off by cron to move messages into an archive folder periodically.
In essence, KMail seems to get confused about message headers and mixes up messages. One example of this behavior is when I use the Search: box to search for a certain subject line. Messages matching that subject line are shown correctly, but when I select one, KMail displays an entirely different message and then changes the list entry to match that message, despite it not matching my search criteria.
I also find that clicking various messages that aren't downloaded yet will often cause their header to change and a different message to appear. Clicking back around the list causes headers to switch as different messages are displayed. It appears that when KMail displays another message, its list entry is not updated until a window event (such as moving the focus to another window) occurs.
I'll attach a series of screenshots showing the behavior.
This bug seems related to #62452 but I'm not sure it's the same thing. #62452 is marked RESOLVED but there was another entry added at the end of 2004 and it doesn't seem to have been addressed since then.
Created attachment 24299 [details]
Screenshot of Kmail, no problem seen yet
Created attachment 24300 [details]
KMail now thinks the message is subject "GLSA Check Report", but still shows the Sealab message
Created attachment 24301 [details]
KMail is instructed to search for Amazon.com messages, but highlighting one brings up a different message entirely
Unfortunately I currently don't have a mail folder that big to test. I have however had several mailinglist folders with >15000 mails in the past but haven't witnessed the problem you describe. I was using KDE4.1+ though. Could you please recheck if you still see the same happening with a recent 4.x release?
Never have seen this - do you still experience this problem in KDE 4.3+?
Hello! Sorry to be the bearer of bad news, but this version of Kmail has been unmaintained for many years so I am closing this bug. Please try using the latest version of Kmail to see if your issue persists. If it does, please submit a new bug in "kmail2". Thank you!