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 592117 - Calendar Printout Love
Calendar Printout Love
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.26.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 409546 500576 548035 563532 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-08-17 17:35 UTC by David Richards
Modified: 2010-06-16 03:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Corrections to month view printing (6.49 KB, patch)
2009-09-03 20:56 UTC, Pierre-Eric Pelloux-Prayer
none Details | Review
Patch for monthly + weekly + daily printouts (10.34 KB, patch)
2009-09-09 18:58 UTC, Pierre-Eric Pelloux-Prayer
committed Details | Review
all day events out of border and quite large gaps between them (21.58 KB, application/pdf)
2009-10-15 11:23 UTC, Milan Crha
  Details
quite busy day (26.45 KB, application/pdf)
2009-10-15 11:23 UTC, Milan Crha
  Details
All day events cleanup (3.45 KB, patch)
2009-12-15 11:12 UTC, Pierre-Eric Pelloux-Prayer
committed Details | Review
weekend printing patch (1002 bytes, patch)
2010-04-01 15:30 UTC, Pierre-Eric Pelloux-Prayer
committed Details | Review

Description David Richards 2009-08-17 17:35:08 UTC
Bug report to hang Pepps patch for the monthly printout to actually work as expected.  Boxes will now all print the same size, and fonts will all be the same size.  Overlapping issues are corrected as well.
Comment 1 Pierre-Eric Pelloux-Prayer 2009-09-03 20:56:18 UTC
Created attachment 142437 [details] [review]
Corrections to month view printing
Comment 2 Pierre-Eric Pelloux-Prayer 2009-09-09 18:58:36 UTC
Created attachment 142817 [details] [review]
Patch for monthly + weekly + daily printouts

Path correcting various printing issues (mainly the ones reported here : http://www.go-evolution.org/CalendarPrintoutLove)
Comment 3 Milan Crha 2009-10-15 11:20:16 UTC
Patch looks good, I slightly modified it, as for declaration of variables in the middle of a code block, and some minor coding style differences, but nothing serious. In other words, thanks for a work.

Created commit 6c9d435 in evo master (2.29.1+)
Created commit 2188577 in evo gnome-2-28 (2.28.1+)
Comment 4 Milan Crha 2009-10-15 11:23:05 UTC
Created attachment 145503 [details]
all day events out of border and quite large gaps between them
Comment 5 Milan Crha 2009-10-15 11:23:33 UTC
Created attachment 145504 [details]
quite busy day
Comment 6 Milan Crha 2009-10-15 11:29:52 UTC
I would like to ask you to look on these two issues too. It's maybe only one issue, but anyway, The first PDF shows how all day events are "wasting space" and how they overlap its box (both at the top and bottom).

It's more significant on the second PDF, where the space for all day events is wasted, and ordinary day events are in a very small rectangle.

I would like to see smaller gaps between all day events, and no overlapping over its box (say a gap one or two points up and down the box, and one or two points between each all day event. The row height for all day events can be also smaller. Feel free to not add "[...]" bitmap on its own row, but over the last all day event.

I hope these changes will help with the space in a day print.
Comment 7 David Richards 2009-10-15 13:20:42 UTC
I see and agree that there is a one pixel overlap of the boxes of the all day events.  Possibly it's using the same code as the events in the hourly section, which are supposed to bump up against the line.  It would look a bit cleaner if the all day events had one pixel of white space inside the box container.

I see what you mean about the [...], that is a bit of space lost.  I would not mind it sitting in the corner of the last all day event that fits within the space.

Even as they are, they are a huge improvement over what we have now!

Pepp, thoughts?
Comment 8 Milan Crha 2009-10-16 07:16:48 UTC
(In reply to comment #7)
> Even as they are, they are a huge improvement over what we have now!

Yup, definitely. And thanks for that, Pepp.

> Pepp, thoughts?

We had a chat on IRC with Pepp and he said he knows what I mean and will try to produce a patch.
Comment 9 Akhil Laddha 2009-12-08 04:41:16 UTC
*** Bug 563532 has been marked as a duplicate of this bug. ***
Comment 10 Pierre-Eric Pelloux-Prayer 2009-12-15 11:12:48 UTC
Created attachment 149753 [details] [review]
All day events cleanup

- reduced height of event boxes
- reduced spacing between boxes
- the '...' mark overlaps the last event box
- add a 2px margin at the top/bottom of the all day events container
Comment 11 Milan Crha 2009-12-22 18:38:51 UTC
Looks good, thanks (I forgot of this last week, I'm sorry.)
Comment 12 Milan Crha 2009-12-22 18:43:45 UTC
Created commit 1cbedea in evo master (2.29.5+)
Comment 13 Akhil Laddha 2010-03-12 04:02:47 UTC
*** Bug 500576 has been marked as a duplicate of this bug. ***
Comment 14 Akhil Laddha 2010-03-31 07:32:22 UTC
*** Bug 548035 has been marked as a duplicate of this bug. ***
Comment 15 Pierre-Eric Pelloux-Prayer 2010-04-01 15:30:21 UTC
Created attachment 157703 [details] [review]
weekend printing patch

Dave reported one remaining issue when printing monthly calendars : Saturday events may overlap on Sunday events (when using compressed weekends option). 
This patch should correct this behaviour.
Comment 16 Milan Crha 2010-04-02 09:24:24 UTC
Thanks for a patch. Seems to work fine, thus:

Created commit c0f4235 in evo master (2.31.1+)
Created commit 8580bd4 in evo gnome-2-30 (2.30.1+)
Comment 17 Akhil Laddha 2010-06-16 03:54:39 UTC
*** Bug 409546 has been marked as a duplicate of this bug. ***