Bug 238375 - Disable "New Contact" when no address book defined
Summary: Disable "New Contact" when no address book defined
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 11:06 UTC by Ben Adler
Modified: 2010-06-20 12:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Adler 2010-05-21 11:06:11 UTC
Version:           svn trunk from 2010-05-20 (using Devel)
Compiler:          gcc 
OS:                Linux
Installed from:    Compiled sources

Please disable the "New Contact" button when kaddressbook is unable to save a contact.

I just started kaddressbook and it came up completely empty. No address books, no contacts, no groups. I clicked "New Contact" and spent some time to enter lots of details for my first contact. After pressing OK, I was prompted with an address book to select where I wanted this contact to be saved. This dialog was empty and didn't offer me to create an address book. I could only press Cancel, and then my contact data was lost.

I think thats a rather frustrating bug.

Please disable the "New Contact" button when kaddressbook is unable to save a contact.
Comment 1 Will Stephenson 2010-05-28 15:42:56 UTC
Confirmed, needs backport to 4.4 branch too.
Comment 2 Tobias Koenig 2010-06-20 12:13:38 UTC
SVN commit 1140325 by tokoe:

Enabled/disable the 'New Contact' and 'New Contact Group' actions depending
on whether there exists a writable address book

BUG: 238375


 M  +44 -6     standardcontactactionmanager.cpp  


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