Bug 214195

Summary: Switching to 'Show Simple View' is extremely slow with 800 contacts
Product: [Applications] kaddressbook Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2009-11-11 23:53:52 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kontact and go to KAB
- Create or import about 800 contacts
- Go to Settings menu/Show Simple View
- Check the 'Show Simple View' check box within the menu

Nothing happens at first but after a few minutes KAddressBook switches to simple view.

Also:
- Click on the 'Next' button from the Simple View display mode

Nothing happens at first but after a while the next contact is displayed.

Would it be possible to improve the speed on those functionalities?

Trunk, Svn Rev 1047503
Comment 1 Tobias Koenig 2010-05-15 01:06:37 UTC
SVN commit 1126822 by tokoe:

Do not use the allContacts model for the simple view, this is not
needed anymore with the new selection based model and improves
performance dramatically

BUG: 214195


 M  +0 -11     mainwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1126822
Comment 2 Sabine Faure 2010-05-17 19:30:44 UTC
I tried to retest this today but atm I cannot copy contact or import 800 contacts either so I cannot test this.

I will try to retest this once those regressions are fixed.

Trunk, Svn Rev 1127799
Comment 3 Sabine Faure 2010-07-08 20:31:36 UTC
It is corrected now.

Switching from the main view to the simple view is done immediately now even with more than 800 contacts in an addressbook.

Trunk, Svn Rev 1147490