Bug 240462 - calendar: only first instance of recurring events shown
Summary: calendar: only first instance of recurring events shown
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-clock (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 14:12 UTC by Stefan Majewsky
Modified: 2010-07-10 18:00 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 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