Summary: | when a single occurence of a recurring event is moved, two entries are shown instead of one | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Michał Kosmulski <michal> |
Component: | general | Assignee: | Reinhold Kainhofer <reinhold> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eivind |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Michał Kosmulski
2005-01-03 19:32:53 UTC
I can confirm this. I have "Ansicht" (View) "Tag" (Single day). I have a recurring event and when I drag the start line to another time, two events are displayed: The new timesetting and the old one. Attention: When I attempt to delete the new event, the old event is lost, too!!! So this is a rather critical issue. This issue is still present in KDE 3.4.0!!! *** Bug 100091 has been marked as a duplicate of this bug. *** SVN commit 455586 by kainhofe: Fix the problem that when moving and dissociating a single item of a recurring sequence, it it shown duplicated until the view is refreshed. BUG: 96237 M +3 -3 koagenda.cpp M +2 -1 koagendaview.cpp --- branches/KDE/3.5/kdepim/korganizer/koagenda.cpp #455585:455586 @@ -1075,11 +1075,11 @@ if ( newInc ) { // don't recreate items, they already have the correct position emit enableAgendaUpdate( false ); - mChanger->changeIncidence( oldIncSaved, oldInc ); + mActionItem->dissociateFromMultiItem(); mActionItem->setIncidence( newInc ); - mActionItem->dissociateFromMultiItem(); mChanger->addIncidence( newInc ); emit enableAgendaUpdate( true ); + mChanger->changeIncidence( oldIncSaved, oldInc ); } else { KMessageBox::sorry( this, i18n("Unable to add the exception item to the " "calendar. No change will be done."), i18n("Error Occurred") ); @@ -1552,7 +1552,7 @@ int YTop, int YBottom ) { #if 0 - kdDebug(5850) << "KOAgenda::insertItem:" << event->summary() << "-" + kdDebug(5850) << "KOAgenda::insertItem:" << incidence->summary() << "-" << qd.toString() << " ;top, bottom:" << YTop << "," << YBottom << endl; #endif --- branches/KDE/3.5/kdepim/korganizer/koagendaview.cpp #455585:455586 @@ -1353,7 +1353,8 @@ // recreating everything even causes troubles: dropping to the day matrix // recreates the agenda items, but the evaluation is still in an agendaItems' code, // which was deleted in the mean time. Thus KOrg crashes... - changeIncidenceDisplayAdded( incidence ); + if ( mAllowAgendaUpdate ) + changeIncidenceDisplayAdded( incidence ); break; } case KOGlobals::INCIDENCEEDITED: { |