Bug 176735 - standard mailing list view always rebuilds tree which is slow
Summary: standard mailing list view always rebuilds tree which is slow
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.10.90
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 19:50 UTC by simon
Modified: 2009-03-19 00:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2008-12-02 19:50:40 UTC
Version:           1.10.90 (using 4.1.81 (KDE 4.1.81 (KDE 4.2 >= 20081128)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.26-tuxonice

there should be some caching logic applied to avoid the complete tree rebuild (which takes about 10 seconds to build the tree for ca. 1200 messages) when opening a folder which is viewed as mailing list.
Comment 1 Jaime Torres 2008-12-04 17:02:20 UTC
Hello,

  If you have debug enabled, and start kmail from the command line, you could see a line like:

kmail(5534) KMail::MessageListView::Core::Model::viewItemJobStepInternal: EXPANDING THE TREE TOOK  821  MSECS 

  It took less than 1 second (with 100 mails) for me.

Regards.

Comment 2 simon 2008-12-05 11:50:36 UTC
well somehow i have this here:

mail(29101) KMail::MessageListView::Core::Model::viewItemJobStepInternal: FILLED THE VIEW AT  76.2465  MSG/SEC
Comment 3 simon 2008-12-14 12:55:39 UTC
it seems like the problem went away after updating to current trunk, no idea which revision brought the improvement though.

closing now and hoping thats its fixed for real