Bug 240462

Summary: calendar: only first instance of recurring events shown
Product: [Plasma] plasma4 Reporter: Stefan Majewsky <majewsky>
Component: widget-clockAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stefan Majewsky 2010-06-02 14:12:41 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I'm on 4.4.81svn1131245, and the calendar widget is finally able to read my Akonadi calendars. However, it does not display recurring events correctly. I have my lecture schedule in Akonadi as recurring events, and it shows only the lectures in the first week, i.e. the first instance of each recurring event.

Reproducible: Didn't try
Comment 1 John Layt 2010-07-10 18:00:07 UTC
SVN commit 1148427 by jlayt:

Fix Plasma Calendar widget showing Akonadi calendar events.

1) Preserve the timezone for the dates
2) Calculate the recurrences and display them
3) Display multi-day events correctly

In theory this should also fix the dynamic update problem, but I'm unable to
test properly due to kdepim 4.5 issues.

There may be a few corner cases not quite right, they will follow as they
become apparent.

Note that correct display of Akonadi events will only happen if running kdepim
4.5 (delayed for several months) or using the akonadi compatability layer.

BUG: 243114
BUG: 240462


 M  +95 -37    libs/plasmaclock/calendartable.cpp  
 M  +59 -0     plasma/generic/dataengines/calendar/calendarengine.h  
 M  +35 -9     plasma/generic/dataengines/calendar/eventdatacontainer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1148427