Bug 203844

Summary: Uncorrect format completion when entering members into a group.
Product: [Applications] kaddressbook Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2009-08-14 16:34:41 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Configure Akonadi with an IMAP and Kolab resource.
- click on the 'New Group' button
- In the 'New Contact Group' dialogue enter 'Group A' in the 'Name:' line edit.
- In the 'Contact group members' line edit the tooltip gives a 'Enter member in format: name <mail>' message.
- However as soon as you start typing the first letters of the name an autocompletion appears giving the full name of the contact (ex: John Smith). 
- If you select it and click on the 'ok' button then the group and contact(s) added appear on the right hand side of the KaddressBook main window.

But, instead of displaying name <mail> for each contact a number is displayed (ex: 198, 199 ,200) which is confusing.

So I think the autocompletion should give the 'name <mail>' format instead of just the 'name' format to avoid this bug.

additional information:
In the 'Edit Contact Group' dialogue, if you enter 'John Smith' and click on 'ok' as above, a number is displayed under the Group name on the right hand side of the KAdressBook window. 
But if you go back to the same dialogue, you can see that the correct format is now displayed : 'John Smith <jsmith@bugsquad.org>' eventhough it was never entered as such.

SVN REV 1010699
Comment 1 Tobias Koenig 2009-08-26 17:03:42 UTC
Hej,

this bug has been fixed in trunk now.

Ciao,
Tobias
Comment 2 Sabine Faure 2009-08-26 20:53:46 UTC
This bug has been corrected.
The autocompletion works now.

Trunk, Svn Rev 1015767