Bug 151958 - To-Do List duplicate records
Summary: To-Do List duplicate records
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-06 22:27 UTC by Cyril Cathcart
Modified: 2007-11-08 07:20 UTC (History)
0 users

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 Cyril Cathcart 2007-11-06 22:27:41 UTC
Version:           3.5.7 (using KDE KDE 3.5.7)
Installed from:    Mandriva RPMs
OS:                Linux

When I create a new To-Do item a duplicate of that item is displayed in the To-Do list.
I can use any method to create the a new item. I can select from the menu, use the toolbar button or use the alternate short menu. There are no problems creating the item.
When I have entered the data in the To-Do list dialogue box and click the OK button the item seems to be created normally. It appears on the To-Do list.
About 5 seconds later another item with the same title appears right below it on the To-Do list.
Both of the listings point to the same underlying records. If I open the original item, edit it and save it. The duplicate item displayed below it will be updated too. I can open the record by clicking on the duplicated listing, edit it and save it and then I can see the changes if I open the original listing.
Things do not go as smoothly if I try to delete one of the listings.
If I select the original item listed I can delete it. I do get a confirmation dialogue reminding me that it will be permanently deleted.
When the original listing disappears from the To-Do list, the duplicate item stays on the list. 
It looks as if the underlying record has been deleted because if I try to open this remaining ("duplicate") item I get a 'Sorry - Kontact' dialogue box which tells me "Unable to edit item: it is locked by another process"
When I click the 'OK' button in that dialogue box an 'Event Viewer-Kontact' dialogue box pops up and shows me some details about the item (Title, Due Date, Priority, Completed % and Creation date).
When I click on the OK button in that dialogue box I am returned to the To-Do list.
I can delete that item from the list.
If I create a new item, wait for the duplicate to be created and then delete one of them I will get the standard confirmation dialogue box advising me that it will be permanently deleted. If I click OK the item I selected will be removed from the list. If I select the remaining "duplicate" item and delete it rather than trying to open it the same thing will happen. I will get a confirmation dialogue and the item will be deleted. 
I recently upgraded from Mandriva Spring 2007 to Mandriva 2008.
In Mandriva Spring 2007 I noticed a similar problem with KNote. In Mandria 2008 there is no longer a problem with KNotes being duplicated.
Comment 1 Cyril Cathcart 2007-11-08 07:20:38 UTC
I found the cause of the problem:

Not a bug. This is caused by a configuration decision.
"It's not a bug it's a feature" (!)

In Kontact I had two resource files set up and Kontact Calendar is configured to use both of them.
Both are selected for display. Disable display for one or delete one file and the second instance of the To-Do item will disappear

You can see this selection in the Calendar display. It depends on how you set up your layout but the selection is 
probably in the centre pane, lower panel. Under "Calendar" it lists resources to be displayed and lets you check them or delete them. The selections made in respect to Calendar also govern the display for To-Do List since those items are dated and appear on the Calendar.

This can also be changed from the administration menus.

Go to Menu/Tools/System Tools/Control Centre
In the left side panel
Expand KDE Components
Select KDE Resources
	In the right side panel
	Use the Resources drop down menu to select 'Calendar'
	Check the display below that
	if it indicates that two resource files are available then that is why the record is being displayed twice
	select the resource and click the 'Edit' button
	the Edit Dialogue will indicate where the resource file is
	determine if you want the record in both files or not
	determine if you want the second resource file at all
	if you don't want the file at all, select it and click the Remove button
	if you want it but don't want these items written to it, select it and uncheck the box