Bug 188011

Summary: Can not add contact in kmail
Product: [Unmaintained] kmail Reporter: Thomas Capricelli <kdebugs.20.orzelf>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Capricelli 2009-03-24 16:26:19 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Gentoo Packages

I click on an email to add a contact. Either an email in the header or in the mail content. I use 'right-mouse-button'. Kmail proposes to "add to the addressbook" (rough translation, i dont use English here).

I have an error box with only one sentence, which translates to "unknown error(unable to list items)"

if i try again, then the righ-mouse-button menu proposes "see contact in address book", but if i click on some other folder, and come back, then the action is again "add to addressbook", and it still gives the error window.

If i use kmail's menu tools/addressbook, i can see that the email has actually been added. Twice, as i did try twice because of the menu thinguy.

I see several bugs here actually
* adding an email brings an error while there is no error.
* the error message by itself is really not clear (unknown error, i feel like being on windows again)
* why do the action name in the menu change ?
* addressbook should check for duplicate when adding an email (no?)

greatings.
Comment 1 Rohit Jain 2009-03-25 17:15:31 UTC
I am not able to reproduce this error.

About your last point (addressbook should check for duplicate when adding an email (no?)
): Sometimes there are 2 people with same name. And sometimes, you have same person in different resources, so checking duplicate is difficult. You can always merge 2 contacts if required.
Comment 2 Thomas Capricelli 2009-03-25 17:24:50 UTC
in this case, the email address is the only information, and is the same. Email adresses are unique worldwide, aren't they ? 

You can't reproduce..... : is there anything i could do to describe the pb more ?
Comment 3 Rohit Jain 2009-03-25 20:20:58 UTC
email need not be unique because you might have 2 address book and you can have same contact seprately in those 2 address books (like I said before).
Comment 4 Laurent Montel 2015-04-12 10:01:04 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.