Bug 176735

Summary: standard mailing list view always rebuilds tree which is slow
Product: [Unmaintained] kmail Reporter: simon
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.10.90   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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