After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324676 - Print preview displays preview of previous month
Print preview displays preview of previous month
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.26.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
evolution[kill-bonobo]
Depends on:
Blocks:
 
 
Reported: 2005-12-21 05:01 UTC by Poornima
Modified: 2009-08-03 10:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed evo patch (1.04 KB, patch)
2009-07-31 09:36 UTC, Milan Crha
committed Details | Review

Description Poornima 2005-12-21 05:01:55 UTC
1. From 'Day view' goto 'Month view'. In day view date is todays date.
2. In Month view all the appointments in the december is displayed as well as appointments of last week for November and first week of January. This is fine.
3. Select 'file -Print Preview', displays print preview of November instead of december.
Comment 1 André Klapper 2006-02-12 17:22:24 UTC
i can reproduce this in 2.5.90.

poornima, PLEASE USE KEYWORDS. adding "printing" keyword.
Comment 2 André Klapper 2006-05-13 15:38:15 UTC
i still see this in 2.7.1
Comment 3 Stefan Broetz 2006-06-13 16:49:00 UTC
I can reproduce this, too. However, I could observe the following:

If the first day of the selected month is a Monday, the print preview shows the current month. If the first day of the selected month is not a Monday, the preview shows the previous month. The same holds for the actual printing job.

This might raise the severity as one is unable to print the monthly overview for December 2006: December 1st is a Friday, so printing from the December view will yield a calendar for November 2006, whereas printing from the January view will give you the calendar for January 2007.
Comment 4 Stefan Broetz 2006-06-13 16:59:55 UTC
After reading bug 328629 I found out that Evolution checks which day is currently highlighted. If you change to the month view, typically the date in the upper left corner is selected which is usually a day in the previous month unless the current month starts with a Monday.

If you select e.g. December 03, 2006, you can preview and print the monthly calendar for December 2006. 
Comment 5 Matthew Barnes 2008-03-11 00:27:34 UTC
Bumping version to a stable release.
Comment 6 Lupine 2009-01-13 01:40:09 UTC
We are still seeing this behavior in Ubuntu 8.10 and Evolution 2.24.2

https://bugs.launchpad.net/evolution/+bug/316121
Comment 7 Milan Crha 2009-07-31 09:36:48 UTC
Created attachment 139617 [details] [review]
proposed evo patch

for evolution;

For a full month view pick the second week of a view for print/preview.
Comment 8 Matthew Barnes 2009-07-31 12:49:22 UTC
Tagging this for kill-bonobo since I'll have to rework the patch.
Comment 9 André Klapper 2009-07-31 18:53:53 UTC
Still in 2.26.
Comment 10 Chenthill P 2009-08-03 07:53:03 UTC
Looks good. Please commit.
Comment 11 Milan Crha 2009-08-03 10:05:31 UTC
Created commit d921180 in evo master (2.27.6+)