Bug 281097

Summary: Events across several months doesn't show on every months
Product: [Applications] korganizer Reporter: Xavier Poirot <xavier.poirot>
Component: monthviewAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aheinecke
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Xavier Poirot 2011-08-31 09:52:41 UTC
Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

Events across two months are only shown in the first month, and not at all in the second month.

Reproducible: Always

Steps to Reproduce:
Add a London 2012 event in your calendar :
All day long, from 2012-07-27 to 2012-08-12

Actual Results:  
The event will be shown in month view of July, but _NOT_ in August.

Expected Results:  
See the event in August's view too.
Comment 1 Andre Heinecke 2012-07-27 16:21:36 UTC
This is happens with events that have a recurrence and do not recur in the shown month.
Comment 2 Andre Heinecke 2012-07-27 16:21:54 UTC
Git commit 577c3d5b8b1240a2168393353edf98213c15a374 by Andre Heinecke.
Committed on 27/07/2012 at 18:11.
Pushed by aheinecke into branch 'KDE/4.9'.

Fix display of recurring multiday events

    If an event did not recurrOn a day in the currently selected
    date range but recurred before that and was "still happening"
    it was not painted.
    Now we check for all recurrences that "still happen" on the
    first day of the selected monthview.
(cherry picked from commit 99f24760b2d30a8abbf63f0a7247415578f32deb)

M  +5    -0    calendarviews/eventviews/month/monthview.cpp

http://commits.kde.org/kdepim/577c3d5b8b1240a2168393353edf98213c15a374
Comment 3 Andre Heinecke 2012-07-27 16:21:56 UTC
Git commit 99f24760b2d30a8abbf63f0a7247415578f32deb by Andre Heinecke.
Committed on 27/07/2012 at 18:11.
Pushed by aheinecke into branch 'master'.

Fix display of recurring multiday events

    If an event did not recurrOn a day in the currently selected
    date range but recurred before that and was "still happening"
    it was not painted.
    Now we check for all recurrences that "still happen" on the
    first day of the selected monthview.

M  +5    -0    calendarviews/eventviews/month/monthview.cpp

http://commits.kde.org/kdepim/99f24760b2d30a8abbf63f0a7247415578f32deb