Bug 87029 - Removing the default resource from KAddressbook via Kontact does not work
Summary: Removing the default resource from KAddressbook via Kontact does not work
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: 3.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-08-12 12:03 UTC by Stephan Buys
Modified: 2009-08-05 16:13 UTC (History)
1 user (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 Stephan Buys 2004-08-12 12:03:52 UTC
Version:           unknown (using KDE 3.2.3, Gentoo)
Compiler:          gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
OS:                Linux (i686) release 2.6.5-gentoo-r1

When setting up a new instance of Kontact with the Kolab Wizard there are 2 resources for both the address book and calendar. (file and imap)

When trying to remove the "default" resource from KAddressbook the settings never get saved. If you restart Kontact the "default" resource is back. You need to manually go to kcontrol and delete the file-based resource in order for the resource to be permanently removed from kaddressbook.
Comment 1 Tobias Koenig 2004-08-12 13:34:38 UTC
On Thu, Aug 12, 2004 at 10:03:54AM -0000, Stephan Buys wrote:

Hi Stephan,

> When setting up a new instance of Kontact with the Kolab Wizard there are 2
> resources for both the address book and calendar. (file and imap)
> 
> When trying to remove the "default" resource from KAddressbook the settings never get saved.
The settings get saved, but because you removed the default resource,
it's recreated the next time you load the addressbook (which is in this
case immediately). So you should mark the Kolab resource as default
resource before deleting the file resource.

Ciao,
Tobias
Comment 2 Frans Englich 2006-10-01 21:27:09 UTC
I stumbled on this too, and thought it was a bug until I found this report. I believe this still is a bug, and not a user error.

First of all, I've looked for some time now and I can't find anything that would make a resource the "default" one. Assuming I am correct in that it is generally difficult to find this setting, this suggests that a easier solution is better.

Second, consider what the user has done. She has added a new resource, and deleted the old one. Isn't the intention quite clearly "Use this one, not the old one"? Why would she want to have something re-created that she just deleted?

I propose:

If no resource exists, create and subsequently use a default resource. Otherwise use the existing resource(s).
Comment 3 Michael Leupold 2008-09-28 18:33:54 UTC
I can no longer reproduce this on trunk r865573. Removing the default resource in kaddressbook makes the next resource the default one.
Comment 4 Tobias Koenig 2009-08-05 16:13:33 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.