Bug 333855 - Kmail gets extremely slow having ~20k mails in a folder
Summary: Kmail gets extremely slow having ~20k mails in a folder
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 4.11.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-25 08:53 UTC by kgy
Modified: 2017-01-07 22:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kgy 2014-04-25 08:53:49 UTC
I have detailed folder tree (~40 folders) some of them having ~20k mails (~100k mails sum).
Selecting a new folder containing ~20k mails needs some minutes, while kmail continuously rearranges the display.
If I select all mails in the folder (pressing Ctrl+A) it takes about 5-6 minutes.
I tried to apply filters on this selection (pressing Ctrl+J) and I had to kill Kmail after half of an hour running.

Reproducible: Always

Steps to Reproduce:
1. Create ~40 folders with corresponding mail selection rules
2. Download ~100k mails
Actual Results:  
I had an older Debian system and I also tried it on a newly installed OpenSuSE system with the same result.
I did not change the default settings.

Expected Results:  
Some years ago I had similar system (on a significantly slower machine) having >300k mails and it worked with at most some seconds response time. Unfortunately I do not remember the versions.
Comment 1 Christoph Feck 2014-04-25 10:25:01 UTC
> Unfortunately I do not remember the versions.

KMail versions up to 4.4 worked without Akonadi. Unfortunately, I know of no distribution offering packages, but you can still compile the old version from source (using it here).
Comment 2 kgy 2014-11-01 08:24:06 UTC
All other mailer softwares I know (including Micro$oft ones) can handle millions of mails without problem. IMHO it is a shame that nobody tries to resolve this, after a half year (or at least accept the bug), however, KMail is completely unusable in this state. Or is this report incorrect?
I tried it again: 90 minutes was not enough to filter ~100k messages (killed it at 8%).

My current version:
KMail
Verzió: 1.13.7
KDE Development Platform 4.8.4 (4.8.4)

Regards
Gyorgy Kovesdi
Comment 3 Denis Kurz 2016-09-24 18:09:14 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:47:50 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.