Bug 89074 - autofill from adressbook if i start write the emailadress
Summary: autofill from adressbook if i start write the emailadress
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 14:25 UTC by Roland
Modified: 2007-10-16 14:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland 2004-09-08 14:25:23 UTC
Version:            (using KDE KDE 3.3.0)

if i write am email and i insert the email starts with the adress, there is no autofill. the autofill option now only look to the names. cool autofill was in newer aol. if i write a letter, it searcs for names, lasnames an emailadresses in adressbook (buddylist there). like this looks fine ;)
Comment 1 David P James 2004-11-21 18:15:24 UTC
The current automatic text completion (Right-click in the To: field, Text Completion --> Automatic OR Dropdown List & Automatic) is a little flaky to say the least. If, in the recent history, there is an entry with an email address but without a corresponding name then autocomplete on the email address will work. However, if the entry has both an email and a name then autocomplete will work on either, with some caveats. If it starts completing on the address then only the email will show, not the complete entry. It is also case sensitive so to get the full entry you need to start with a capital letter. Finally, if there are entries starting with the same letter where one is email-only and another email+name then autocomplete virtually ceases to work (esp. on the mail-only entry - starting with a capital works ok for the name+email entry).

The behaviour in Mozilla/Thunderbird is more like what one would expect (one of its few advantages over KMail).
Comment 2 David Faure 2004-11-21 21:38:06 UTC
> If it starts completing on the address then only the email will show, not the complete entry

How else should it work? If the entry is "David Faure <null@kde.org>" and you type "n", the line-edit can only show "n" followed by something, so it can't show the fullname before the email. So do you mean it should show "null@kde.org (David Faure)" for instance (the fullname being at the end)?

I know that Ingo suggested that kcompletion should be able to complete on the beginning of any word (http://lists.kde.org/?l=kde-pim&m=109226256526142&w=2), but I don't see how this can interact with the lineedit - same problem as above. If you start typing "F", the lineedit has to start with "F", and kcompletion won't know what to do with the "David" part of the entry....

BTW: I don't see that the completion is case sensitive - here it's case insensitive, typing "d" shows the above entry.
Comment 3 Roland 2004-11-21 22:23:24 UTC
> How else should it work?

the entry: "David Faure <null at kde.org>". type n to find the compete entry.

i think, the autofill only search in a name-row. what i mean is, search in names-row and in a mail-row.
Comment 4 David Faure 2004-11-21 23:01:32 UTC
> the entry: "David Faure <null at kde.org>". type n to find the compete entry.

Yes, but you don't see the issue: the line where you type the text has to show something
that starts with 'n', since if you type another letter, it might have to change the matching name.
E.g. if there's a nobody@kde.org too, and if typing "n" shows "David Faure <null@kde.org>",
typing "no" has to switch to "Foo Bar <nobody@kde.org>", which would be VERY jumpy
if the name was before the email, even unusable. But this would work with
"null@kde.org (David Faure)" and "nobody@kde.org (Foo Bar)" of course.

Comment 5 Matt Douhan 2005-05-01 14:41:23 UTC
in KMail with KDE 3.4 one can use name and email address for address completion, it would be great if you could test and report back if it works for you.
Comment 6 Matt Douhan 2005-05-21 22:39:55 UTC
This just plain works in KMail 1.8