Bug 162889

Summary: Recipient autocompletion can cause sending a mail to the wrong person
Product: [Unmaintained] kmail Reporter: András Manţia <amantia>
Component: addressbookAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description András Manţia 2008-05-30 15:04:27 UTC
Version:            (using Devel)
Installed from:    Compiled sources

I have setup KMail to put the recently used addresses into the completion box for recipients. I also use an LDAP server for addressbook, configured with kolabwizard.
If I try to send a mail to somebody whose name starts with "a", it shows those addresses I used before and start with "a". I select one from them. Meantime the address book is loaded, the list changes (that isn't a big problem), but selection changes as well! So pressing enter selects the wrong person.
Even if the address book was already loded (e.g. in the same, opened composer window, entering a new recipient), as you type it shows all the addresses (LDAP first, recent entries after). While you navigate through the list, after some seconds the selection jumps back to the first entry.
 Imagine my surprise when somebody asked why I sent that mail to him....
Comment 1 Thomas McGuire 2008-06-23 17:21:35 UTC
Probably related to bug 164717.
Comment 2 Thomas McGuire 2008-07-13 15:09:35 UTC
Yep, I can reproduce it now that I have a LDAP addressbook too.
Comment 3 Thomas McGuire 2008-07-21 21:26:51 UTC
SVN commit 836134 by tmcguire:

Don't modify the current selection when the LDAP addressees arrive.
BUG: 162889


 M  +0 -7      addresseelineedit.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=836134
Comment 4 Thomas McGuire 2008-07-21 21:35:50 UTC
SVN commit 836138 by tmcguire:

Backport r836134 by tmcguire to the 4.1 branch:

Don't modify the current selection when the LDAP addressees arrive.
CCBUG: 162889



 M  +0 -7      addresseelineedit.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=836138