Bug 195175

Summary: Can't add new events/todos with no default calendar selected.
Product: [Applications] korganizer Reporter: ned <naught101>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: smartins
Priority: NOR    
Version: 4.2.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description ned 2009-06-04 08:38:46 UTC
Version:           4.2.4 (using KDE 4.2.4)
Installed from:    Ubuntu Packages

If none of the available calendar resources are available, it is not possible to add todos, events, or journal entries. There is no error produced, the "add event" dialogue appears properly, but the user can't press "ok", or "apply", so the event will not be added.

I'm not sure how this happened to me, must have been something to do with the upgrade from 3.5.x, but it's easy to reporoduce:

1. Add new calendar resource
2. Select "use calendar as default" in the context menu for the new calendar.
3. Delete the new calendar. No new default will be selected.

Suggested fixes:
1. Check for a default calendar resource on start up, and on calendar delete/change,
2. If there's no default, give the user the option to select an existing one, or create a new one if none exist.
Comment 1 Sergio Martins 2011-07-17 23:21:10 UTC
In 4.6, the event dialog is independent from selection.
Just choose the collection in the combo, doesn't matter if it's selected or not.