Bug 161624 - Calendar display does not update on edit/ delete of event
Summary: Calendar display does not update on edit/ delete of event
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 181923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-04 18:40 UTC by george
Modified: 2011-07-17 06:30 UTC (History)
5 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 george 2008-05-04 18:40:56 UTC
Version:           3.5.9 (using KDE 3.5.9)
Installed from:    Fedora RPMs
OS:                Linux

In the calendar view, when updating or deleting and event the calendar view does not change.  Moving to another month and back is required to see the changes.  The "apply" button does not show the changes either.  There seem to be slight variations of this behavior in the daily and weekly views.  For example, the time shown in the daily view will change but the highlighted area does not.  Also the window that comes up when the mouse hovers on the entry shows the old times as does the summary in the left pane.  Also, in the daily and weekly views the delete seems to work correctly.
Comment 1 Palmer Dabbelt 2008-07-18 17:36:46 UTC
I also get this behavior in Gentoo with the week views.

Any change that would require updating the main view (so a change in the times of an event or its name) requires changing the week (or clicking "Go to Today") to update the UI.

I did not have this problem in the previous version of KDE (3.5.7, I think).
Comment 2 Christophe Marin 2008-07-28 14:51:13 UTC
Confirmed in trunk (kdepim rev. 838646)

Testcase : 
Use this vcal :

BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML KOrganizer 4.1 rc1//EN
VERSION:1.0
BEGIN:VEVENT
DTSTART:20080806T060000Z
DTEND:20080808T060000Z
DCREATED:20080728T122312Z
UID:KOrganizer-1610515132.820
SEQUENCE:0
LAST-MODIFIED:20080728T122312Z
X-ORGANIZER:MAILTO:email@domain.tld
ATTENDEE;RSVP=FALSE;STATUS=ACCEPTED:MAILTO:Christophe Giboudeaux <email@domain.tld>
DESCRIPTION:This is the base event.
SUMMARY:Test Event
CLASS:PUBLIC
PRIORITY:0
TRANSP:0
END:VEVENT

END:VCALENDAR

---

- Edit the event, change the start date from 06/08/08 to 05/08/08
-> The date is correctly changed : DTSTART:20080805T060000Z

but :
- Clicking on the week 32 won't show anything
- Clicking on the 6 Aug. will show that this is the day 2/3
- Clicking on the 5 Aug. won't show anything
- in the calendars, the 6 will use bold and the 5 is normal
- Clicking on the 6 then deleting the event will not delete it (ie. click on another day then back on 6 and it will be back). the vcs file is properly emptied.



Comment 3 Fry 2008-07-31 01:00:31 UTC
I'm using Kontact with KDE 4.1 (Kubuntu Hardy), and I had a similar problem. 

The events would update in month-view, but not in day- or week-view. Also, if an event scheduled for tomorrow was moved to a different time such as a week later, they would mysteriously show up on the summary as something like "Tomorrow ... in 8 days ... Meeting with Denise."

Mine would not refresh, however, when I switched months. It did refresh on restart of Kontact.
Comment 4 Allen Winter 2008-08-03 16:07:34 UTC
I can't reproduce this in trunk.

krop please test in trunk and let me know.
Comment 5 Sergio Martins 2009-01-07 06:06:07 UTC
I confirm kodaymatrix doesn't remove bold font when an event is deleted/edited.

Probability a missing emit...
Comment 6 Sergio Martins 2009-01-26 01:27:54 UTC
*** Bug 181923 has been marked as a duplicate of this bug. ***
Comment 7 Sergio Martins 2009-01-27 08:06:57 UTC
SVN commit 917206 by smartins:

When an incidence is deleted don't forget to notify registered observers.

CCBUG: 161624


 M  +3 -0      calendarresources.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=917206
Comment 8 Sergio Martins 2009-01-27 08:10:55 UTC
Unbold in the left mini-calendar is fixed.

The rest I can't reproduce, delete/edit always updates the event viewer.
Comment 9 Sergio Martins 2009-01-27 15:47:18 UTC
Christophe also confirms it's fixed, thanks.

Closing.
Comment 10 Juha Tuomala 2009-03-16 13:50:17 UTC
I can reproduce this in Fedora 10, KDE 4.2.1 rpms installed from koji.
kdepim-4.2.1-2.fc10.x86_64
Comment 11 Kevin Kofler 2009-03-16 15:17:00 UTC
4.2.1 already has this patch, see http://websvn.kde.org/?view=rev&revision=917474 , so reopening as not fixed yet (i.e. the fix does not or not completely fix the problem).
Comment 12 Juha Tuomala 2009-03-16 15:18:36 UTC
My case happens on Directory resource, non-akonadi one (though i've inactive akonadi configured).

Directory resource is located in $HOME/.pim/calendar that is on nfs4 share, which has working file locking and sqlite3 for example works on it.

Can anyone else reproduce this? I got a hint that i should have this commit already in my binary.
Comment 13 Sergio Martins 2009-03-16 17:12:25 UTC
Yes, I confirm it doesn't work with resource localdir
Comment 14 Sergio Martins 2011-07-17 06:30:19 UTC
working with akonadi, in kdepim 4.6.