[kaddressbook] [Bug 282567] Krunner / Search and launch containment do not search Akonadi Google data Contacts and list them

Vishesh Handa me at vhanda.in
Mon Jul 28 10:23:34 BST 2014


https://bugs.kde.org/show_bug.cgi?id=282567

Vishesh Handa <me at vhanda.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |me at vhanda.in

--- Comment #7 from Vishesh Handa <me at vhanda.in> ---
At the request of a user, I looked into this bug. 

I'm adding extra information over here in case anyone wants to fix it -
* The relevant code is in kdeplasma-addons/runners/contacts/
* The code uses the old (2007) way of accessing all the Contacts. This method
while theoretically compatible with the current Akonadi instance, currently
seems to be broken.
* The code should be ported to the Akonadi::ContactsTreeModel. This mostly
means just replace the KABC::StdAddressBook with the
Akonadi::ContactsTreeModel, and then modifying the match method to iterate over
the results better. I can provide further guidance if someone is interested.

Overall, the code works by iterating over every contact in the DB and searching
each string manually. This is not efficient and a search index should be used.
This code will not be ported to Plasma5. I'll be working on a new contacts
runner which combines both IM and Email, and groups people based on "People".

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list