Summary: | Contact search is prohibitively slow | ||
---|---|---|---|
Product: | kab3 | Reporter: | Jan-Willem van de Meent <janwillem> |
Component: | general | Assignee: | Tobias Koenig <tokoe> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | arne.schmitz, e.kunig, johann-nikolaus, kavol, kde-2011.08, kde, lars.scheiter, murphyjj, steve |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Jan-Willem van de Meent
2009-05-12 08:55:28 UTC
Just to confirm: I'm seeing this behaviour using the precompiled OpenSUSE 11.1 x86_64 RPMs as of KDE 4.2.3; KDE 4.2.2 did not do this. I'm using a vCard format address book - each entry is in its own file. I have 265 entries. Steps to reproduce: 1. Open the address book (eg: in Kontact) 2. Type anything in the search bar at the top - the app freezes for a while after each character typed, and one CPU core goes to 100% for that time. -- Steve I can confirm that this also happens without any local storage of contacts. I'm using kontacts addressbook only with LDAP sources and the problems exactly the same. Typing into the searchbar is utterly slow, i even thought kontact was hanging. Kontact hogs CPU when this happens and renders it unuseable since i use the Clickto (phone|fax|sms) feature a lot. Interestingly this only happens in the "addressbook view". When i start to compose a mail, the addresses are filled out right away while typing. Using kubuntu (jaunty) ppa's of KDE 4.2.3 -- Lars I can also confirm this exactly as described on 4.2.3 on both openSUSE 11 and 11.1. Due to the delay (and maybe an old, slow CPU) the addressbook (and therefore Kontact) becomes unstable. i allso i can confirm this problem on new notebook cpu. If i select "all visible fields" kontakt needs more then 1min to filtering. Search only in the names is faster, but theare is a delay about 1-2 seconds. I can confirm this bug on Gentoo with KDE 4.2.3 and Qt 4.2.2. KDE 4.2.2 didn't have this bug. Like stated in comment #4, it takes about a minute after the Kontact wakes up from freezing. Having typed something into the search box and selecting a different search field or filter also makes Kontact/KAddressbook freeze. *** This bug has been confirmed by popular vote. *** Same for me with KDE 4.2.85 from the openSuSE Build Service. openSuSE 11.1 x86_64. SVN commit 970795 by krake: Fixing search slowness introduced by a non-optimal fix for searching in fields which can hold more than one value. BUG: 192401 M +140 -45 searchmanager.cpp M +6 -0 searchmanager.h WebSVN link: http://websvn.kde.org/?view=rev&revision=970795 SVN commit 970796 by krake: Backport of Revision 970795 Fixing search slowness introduced by a non-optimal fix for searching in fields which can hold more than one value. CCBUG: 192401 M +140 -45 searchmanager.cpp M +6 -0 searchmanager.h WebSVN link: http://websvn.kde.org/?view=rev&revision=970796 Works for me. Many thanks for the fix! *** Bug 193467 has been marked as a duplicate of this bug. *** *** Bug 192931 has been marked as a duplicate of this bug. *** *** Bug 194008 has been marked as a duplicate of this bug. *** The development of the old KAddressBook will be discontinued for KDE 4.4. Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product. |