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

Vishesh Handa <m...@vhanda.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@vhanda.in

--- Comment #7 from Vishesh Handa <m...@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.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to