Bug 436815 - address autocompletion, only addresses from "recent" are showed, not those from the address book
Summary: address autocompletion, only addresses from "recent" are showed, not those fr...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.21.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-09 09:37 UTC by Philippe ROUBACH
Modified: 2022-08-31 09:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
you can see no adress from adressbook (63.97 KB, image/png)
2021-05-09 09:37 UTC, Philippe ROUBACH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2021-05-09 09:37:01 UTC
Created attachment 138265 [details]
you can see no adress from adressbook

SUMMARY


STEPS TO REPRODUCE
1. click on "new mail" in kmail
2. begin to type the full name in "TO" field. 

OBSERVED RESULT

only addresses from "recent" are showed

EXPECTED RESULT

Also, addresses from adressbook are showed

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

kmail 5.17.0 (21.04.0)

my adressbook is the one from google
Comment 1 Laurent Montel 2021-05-09 17:53:15 UTC
Work fine here. (code didn't touch from long time).
I can see addressbook account/ldap account/recent account. here.
Comment 2 Philippe ROUBACH 2021-05-09 21:48:00 UTC
Did you try with a Google address book ?
Comment 3 Laurent Montel 2021-05-10 04:59:31 UTC
(In reply to Philippe ROUBACH from comment #2)
> Did you try with a Google address book ?

no indeed as I don't have it.
I will try to create a google account for testing it
Comment 4 Philippe ROUBACH 2021-05-12 10:06:31 UTC
I made some experiments.

i type the beginning of the first name of a contact "Lauri"

a recent contact is displayed

i delete the "i"

a recent contact is displayed
a contact from my address book is displayed

but i have 3 contacts with a first name beginning with "Laur". 2 contacts are not displayed !
Comment 5 Philippe ROUBACH 2021-05-12 10:26:30 UTC
For some contact no way to get anything from "recent" or "mes contacts" my Google address book by typing his full name.

For example the contact "Joachim DA COSTA" in my Google address book.

I must type the beginning of the mail address "da" to get a recent address which is his address.

More strange : 
 
- If I type "joachim" in the search file of kaddressbook then I get nothing.
- If i type "joa" i get the card !
Comment 6 Philippe ROUBACH 2021-05-12 10:45:09 UTC
In my Google address book I get 300 contacts. Perthaps it is too many for akonadi.
Comment 7 Ricardo J. Barberis 2022-08-28 23:55:20 UTC
This happens to me too since the last upgrade of kmail: kmail2 5.21.0 (22.08.0)

I don't have Google contacts, only local contacts (kaddressbook).

I only ever get autocompletion from recent addresses, never from kaddressbook.

Also, I guess becouse of this, mails from my contacts which should be displayed as HTML are displayed as text only.

-------
Operating System: Slackware 15.0 (-current)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.4 (64-bit)
Graphics Platform: X11
Comment 8 Ricardo J. Barberis 2022-08-28 23:57:45 UTC
PS: Sorry for resurrecting an old issue, somehow I thought this was more recent before I commented.