Bug 226572

Summary: Useless "Select Address Book" dialog when adding a contact
Product: [Applications] kaddressbook Reporter: Tristan Miller <psychonaut>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: anderslund, dietrichmathias, faure, nancy, tokoe, torotil
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: Screenshot showing bug

Description Tristan Miller 2010-02-12 17:42:21 UTC
Version:            (using KDE 4.4.0)
Installed from:    openSUSE RPMs

Reproducibility: Always

Steps to reproduce:
1. From KNode, KMail, or some other application which interfaces with KAddressbook, right-click on an e-mail address and select "Add to address book"

Observed behaviour:
2. A "Select Address Book" dialog pops up prompting the user to select which address book to add the contact to.  (See attached.)  However, this dialog is not useful if the user has only one address book.

Expected behaviour:
2. If the user has only one address book, then the "Select Address Book" dialog should not be displayed.  The dialog should be displayed if the user has more than one address book.
Comment 1 Tristan Miller 2010-02-12 17:42:42 UTC
Created attachment 40719 [details]
Screenshot showing bug
Comment 2 Nancy Anthracite 2010-06-27 22:55:59 UTC
If it is displayed and you do select one of multiple address books, nothing appears in Kontacts if it is done from a email.  I have not tested it elsewhere.
Comment 3 Tristan Miller 2010-08-12 17:27:58 UTC
Confirming bug still exists in KDE 4.4.5 (openSUSE 11.3 RPMs).
Comment 4 Anders Lund 2012-02-01 20:54:35 UTC
Can someone confirm that this is still the case with KDE 4.7 or 4.8?
This is really a akonadi issue, the dialog is similar to the one used by korganizer for example, and is provieded by akonadi.
Comment 5 Roman Zimmermann 2012-06-19 10:02:50 UTC
The bug is gone in 4.8.3. But only because the functionality seems to be removed.

I just created another addressbook and also activated in in kaddressbook. Then I've added one contact as described. Instead of the dialogue asking for the addressbook, there was only a notification that told me to look at kaddressbook to see the newly added contact.
Comment 6 Mathias Dietrich 2013-06-11 15:02:08 UTC
This bug is fixed for me using KDE 4.10.4.

Tried both use-cases, having = 1 addressbook:

- Contact is immedeatly added to the addressbook

and having > 1 addressbooks:

- I was asked by dialog in which addressbook to save the contact
Comment 7 David Faure 2013-06-11 15:17:39 UTC
As tested by "TheGhost".