Bug 233134 - loading a local folder with 1000+ unread messages is amazingly slow
Summary: loading a local folder with 1000+ unread messages is amazingly slow
Status: RESOLVED DUPLICATE of bug 131507
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-03 06:36 UTC by Thomas Fjellstrom
Modified: 2010-04-05 23:33 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 Thomas Fjellstrom 2010-04-03 06:36:21 UTC
Version:           1.13.2 (using KDE 4.4.2)
Compiler:          gcc 4.4.3 
OS:                Linux
Installed from:    Debian testing/unstable Packages

Switching to a folder with 1000 or more unread messages causes the folder list to scan each and every mail in said folder, which in some cases means scanning 10k to 100k or more messages. It can take minutes on my dual core 2.53Ghz laptop to finally get to a point that I can use the folder. I have the folders set to display in threaded form if that makes a difference.

To reproduce, just find a threaded folder with tens of thousands to hundreds of thousands of mails, and make sure at least one thousand or so of the messages are unread, and it should take kmail many minutes to thread the entire folder.

Expected behavior, switching local folders should be near instantaneous.
Comment 1 Björn Ruberg 2010-04-05 23:33:09 UTC
Yes, the threaded view is the cause here. It's because expanding list items is slow with QListView.

*** This bug has been marked as a duplicate of bug 131507 ***