Bug 286984 - event not shown in month view when it spans over several sheets
Summary: event not shown in month view when it spans over several sheets
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: monthview (show other bugs)
Version: 0.9
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Sergio Martins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-19 11:41 UTC by Martin Stolpe
Modified: 2011-11-19 16:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Stolpe 2011-11-19 11:41:27 UTC
Version:           0.7.3 (using KDE 4.7.3) 
OS:                Linux

When I select month view and choose january 2012 the view ranges from 2011.12.26 to 2012.02.05.When I add an event which is in this range (eg 2011.12.26 - 2012.01.06) it is shown in the calender.
If I change the range to a date which is before the first shown date (eg 2011.12.25 - 2012.01.06) the event is not shown on the calender.
The event is also shown when the date is after the last date shown on the calender (eg 2012.02.03 - 2012.02.08).

Reproducible: Always

Steps to Reproduce:
Open calendar in contact
Change view to "Month View"
View january 2012 in "Month View"
Add an event ranging from 2011.12.22 - 2012.01.06

Actual Results:  
Event is not shown in calendar

Expected Results:  
Event should shown up in calendar
Comment 1 Sergio Martins 2011-11-19 15:05:26 UTC
Git commit 4fbd25490042b4994d410b54c901078e31e61994 by Sergio Martins.
Committed on 19/11/2011 at 15:58.
Pushed by smartins into branch 'master'.

Event crossing month bounderies wasn't being shown.

Patch by Reimar Imhof.

I changed it a bit and replaced downcasts with date roles.

BUG: 286876
BUG: 286984

M  +4    -13   calendarviews/eventviews/month/monthview.cpp

http://commits.kde.org/kdepim/4fbd25490042b4994d410b54c901078e31e61994
Comment 2 Sergio Martins 2011-11-19 15:06:10 UTC
Git commit 69554e88f51faa7c02d6453286790542a39b7ed8 by Sergio Martins.
Committed on 19/11/2011 at 15:58.
Pushed by smartins into branch 'KDE/4.7'.

Event crossing month bounderies wasn't being shown.

Patch by Reimar Imhof.

I changed it a bit and replaced downcasts with date roles.

BUG: 286876
BUG: 286984
(cherry picked from commit 4fbd25490042b4994d410b54c901078e31e61994)

M  +4    -13   calendarviews/eventviews/month/monthview.cpp

http://commits.kde.org/kdepim/69554e88f51faa7c02d6453286790542a39b7ed8
Comment 3 Martin Stolpe 2011-11-19 16:37:06 UTC
Thanks for fixing the problem! That was really quick!