Bug 162007 - Korganizer: copy/paste of recurring items functions improperly
Summary: Korganizer: copy/paste of recurring items functions improperly
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: recurrence (show other bugs)
Version: 3.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-05-12 19:17 UTC by Dotan Cohen
Modified: 2017-01-07 22:34 UTC (History)
3 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 Dotan Cohen 2008-05-12 19:17:24 UTC
Version:           1.2.9 (using KDE 3.5.9)
Installed from:    Ubuntu Packages

I have an event that recurs every Wednesday at 16:00-20:00, for volunteer work. One particular week I was asked to volunteer on Tuesday as well. I right-click the Wednesday event, and click copy. As there is no paste option in the Korganizer context menu, I select Tuesday and click Edit->Paste. The event was added to Monday (the day preceding the selected day) and also an additional recurring event was added to Wednesday. So in the end, I have _two_ recurring events on Wednesday, and one single event on Monday.

When I copy/paste a recurring event to _another_day_, I expect a new event to be created, and this information to be copied from the original event:
*) Title
*) Location
*) Categories
*) Start & End Time
*) Access & Show Time As
*) Reminder
*) Notes
*) Attachments
*) Attendees

I expect this information not to get copied:
*) Date (new event should have the date of the day selected)
*) Recursion



In contract, when I copy/paste a recurring event to _the_same_day_, I expect a new event to be created, and this information to be copied from the original event:
*) Title
*) Location
*) Categories
*) Date
*) Access & Show Time As
*) Notes
*) Attachments
*) Attendees

I expect to be prompted for this information:
*) Recursion
*) Start & End Time
*) Reminder
Comment 1 Michael Leupold 2008-09-28 12:55:15 UTC
I can't reproduce the original bug on trunk r865573 any longer although there's some minor issues with copied/moved events which I'll file separately.
Comment 2 Dotan Cohen 2008-10-09 01:03:03 UTC
While trying to reproduce in KOrganizer 4.1.0 I have discovered that the Edit -> Paste function is _always_ disabled. There seems to be no way to paste a copied event. So, this bug cannot be triaged until this issue is taken care of. See bug #172425.
Comment 3 Sergio Martins 2009-02-05 15:28:34 UTC
I confirm, if you copy-paste a recurring event you'll end up with two recurring events.

I think the "only this item"/"all occurrences" popup should be shown.
Comment 4 Dotan Cohen 2009-02-05 19:20:54 UTC
I agree with Sergio, the user should be asked.
Comment 5 Sergio Martins 2010-02-16 20:33:49 UTC
SVN commit 1091138 by smartins:

Make cut and copy work properly for recurring incidences. Now the user is prompted which occurrences
he wants to cut/copy.

Added the "WhichOccurrences" enum so the caller code doesn't have to compare incidence pointers in order to know what
the user chose (readability++).

Fixes kolab/issue4101
      kolab/issue4125


CCBUG: 162007
MERGE: trunk


 M  +104 -13   calendarview.cpp  
 M  +21 -3     calendarview.h  
 M  +11 -6     koagenda.cpp  
 M  +1 -0      koeventeditor.cpp  
 M  +13 -0     koglobals.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1091138
Comment 6 Denis Kurz 2016-09-24 18:45:49 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 7 Denis Kurz 2017-01-07 22:34:53 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.