This is probably a bug in Akonadi rather than in KMail but for a user using KMail it seem to be bug in KMail. Feel free to assign this bug to Akonadi if appropriate. KMail / Akonadi is not able to find all contacts in my address books when adding recipients to an E-Mail. * add an address book and add multiple contacts that share some letters * write a new E-Mail * start typing in the recipient field I would expect to find all contacts starting with / containing the letters already entered into the recipient field. Instead, only a random subset (mostly only one) is returned. For example: I have two contacts with first names 'Marc' and 'Markus' in the same address book but only 'Markus' is suggest for completion when entering 'Mar' into the recipient field of KMail's composer. For other combinations of letters no completions are suggested at all. This mostly happens at random and restarting Akonadi multiple times may change the suggestions for a given input. Different installation I use may or may not return different suggestions from the same address books across all installations, again this mostly happens at random. Also, for some inputs a completion is suggested based on 'Recent Addresses' or 'Contacts found in your data'. I am not sure if this is relevant or not: I have multiple address books configured, all of which are DAV resources. All address books are affected and it does not matter if the combination of letters is only found in one address book or if the contacts come from different address books. KMail versions before 5.7.0 have been affected as well, dating back to the versions of KMail shipped with KDE 4 but it seems to become worse (no hard evidence though). Also, I can reproduce this on three different computers / systems that use different version of KMail / KDE (two still using KDE 4). Removing everything KMail / Akonadi related from these computers and setting up new accounts / DAV address books does not seem to help. Thanks for considering Christian.
By accident I figured why some contacts are proposed for completions while others are not: I first observed this behaviour after a clean install of KDE 5.x (openSUSE 42.x). I did't not keep / copy any settings from my old KDE installation. I then set-up Kontact to connect to my owncloud/nextcloud and mail servers. My contacts were synced to my local computer and I could see them Kontact / KAddressbook. I now realised that only those contacts are suggested for completion in KMail that I have modified locally in Kontact / KAddressbook, others are not. The steps to reproduce this should be as follows: No suggestion: * remove all akonadi / Kontact related settings, caches, * configure kontact to sync contacts from an owncloud/nextcloud server (maybe others?), * set-up an E-Mail account, * wait for remote contacts to be synced, * write a new E-Mail to a contact in the address book, * and wait for suggestions -> no suggestions should be found. Working suggestion: * in addition to the above, modify any of the contacts locally, e.g. add a random E-Mail address, * click 'OK' to save changes, * write a new E-Mail to a contact in the address book, * and wait for suggestions -> a suggestion should be found. Best Christian.
In case of 'Working suggestion', the above should read: * write a new E-Mail and address it to the changed contact sorry.
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!