Version: 1.6.82 (using KDE 3.2.92 (3.3 beta2), SuSE) Compiler: gcc version 3.3.1 (SuSE Linux) OS: Linux (i686) release 2.6.6_keyhan The autocompletion of e-mail addresses from ldap-server doesn't work properly. KMail tries to autocomplete addresses that are stored locally in the address book, and some times it actually starts to look up in ldap as well but the behavior is very random. It seems as if the ldap searches are shown randomly. This was not the case in the ealier release in KDE 3.2.3, so I beleive this is a new bug. Regards K.H
It appears that some of the autocompletion problems are due to changes in the search mechanism. Observation of behavior suggests that the lookup is using the display name, is intolerant of white space, and only looks at the start of the name. So, for example you might be used to looking up someone by his or her first name. If your LDAP display names start with the last name, the search will not find who you're looking for. If the display name starts with one or more spaces (this can be done if you're trying to have some names sort higher in Outlook) then the search may also fail because your search string doesn't have the leading space(s).
I was going to open up a new bug, but just decided to comment on this one to bring it all together. With the new KDE 3.3.1, LDAP auto-completion still continues to exhibit serious problems. If not even worse than it was during the 3.2 series release. Now names entered such as: Lastn Do not produce the list it once did before: "Lastname, Firstname" <Firstname.Lastname@example.com> Now, it produces no results. Instead, if I type: "Lastn I immediately get: ""Lastname, Firstname"" <Firstname.Lastname@example.com> Which is an invalid email address (RFC 822). In the 3.3.0 release of KDE, I would get wierd results: ""Firstname"" <Firstname.Lastname@example.com> I tried all sorts of different combinations of using local cache and not using local cache and online/offline use, etc. All exhibit the same flaws. Hope this gets fixed soon.
Although I was looking to add a new bug, commenting on this one seems more appropriate. I have this behaviour in KMail 1.7, distributed as part of the kdepim3-3.3.0 SuSE rpm package. Address lookups (searches) used to work on first and last names up until KDE 3.2, and there it worked well, all be it a little too fast. Since KDE 3.3, the searches do not work properly any more. They seem now only to work based on last name, ignoring the first name. The sorting of the results also seems completely senceless. The behaviour that I expected was that searches would work on both first and last names. Sorting should be the same as it was with KMail in KDE 3.2.
Searching on last name is implemented in addresseelineedit.cpp in the proko2 branch, but the patch was rejected for KDE_3_3_BRANCH (or HEAD)... The ordering is configurable in proko2 branch, and in HEAD.
*** This bug has been confirmed by popular vote. ***
Created attachment 8368 [details] Kaddressbook ldap configuration
Created attachment 8369 [details] Kaddressbook ldap settings
Created attachment 8370 [details] Successful lookup via Kaddressbook ldap using name as filter
Created attachment 8371 [details] Successful lookup via Kaddressbook ldap using uid as filter
Created attachment 8372 [details] Kmail imput settings
Created attachment 8373 [details] Kmail test completiong settings
Created attachment 8374 [details] Kmail completiong
Created attachment 8375 [details] Kmail completion works for Kaddressbook/recent addresses
Created attachment 8376 [details] Kmail completion failure using uid
Created attachment 8377 [details] Kmail completion failure using name
> Successful lookup via Kaddressbook ldap using name as filter ?? What does this have to do with the autocompletion? What's the point with those screenshots? I think we know what needs to be done now...
Damn - for some reason the text of my comments, which should have preceeded those screen shots, did not post to the bug. I wanted kmail devs to see that the latest 1.7.1 kmail on my SuSE 9.1, KDE 3.3.1 installation exhibits continue ldap lookup problems. Those screenshots show kaddressbook's config and correctly functioning and kmail 1.7.1's ldap lookup/auto-complete failure. Perhaps this was overkill, but as the bug texts for #92874 and this one neither specifically address the behavior I see (no ldap lookup from withing kmail rather than partical or intermittent), yet both seem in some ways pertinent, I decided to post here. If that was in error, I apologize. Please tell me and if YOU think it's warranted, I'll create a new bug report
As of : KDE Version 1.7.2 (KDE 3.3.2, Mandrake Linux Cooker i586 - Cooker) Application E-Mail Client Operating System Linux (i686) release 2.6.8.1-20mdk Compiler gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-1mdk) it is working again, thanks.
Confirmed working in kde-redhat.org packages (3.3.2). Thanks for all your work!!!
Great! Closing.
CVS commit by faure: Merge from proko2 branch: completion on last name and email address, and fix for wrong weights when the same email comes from multiple sources: we want to MAX the weights, not to add them. BUG: 98691 CCBUG: 86292 M +64 -4 addresseelineedit.cpp 1.37 M +3 -0 addresseelineedit.h 1.23