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 240302 - Can't print "Work week" view
Can't print "Work week" view
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.32.x (obsolete)
Other All
: High enhancement
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 225450 274442 323528 380167 631230 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-03-26 08:54 UTC by Patrick
Modified: 2010-12-05 14:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32


Attachments
Initial support for work week printing (1.76 KB, patch)
2010-10-04 18:16 UTC, Carlos Martín Nieto
none Details | Review
Print the work week view (14.56 KB, patch)
2010-10-07 17:18 UTC, Carlos Martín Nieto
none Details | Review
Sample output (20.54 KB, application/pdf)
2010-10-07 17:25 UTC, Carlos Martín Nieto
  Details
Print the work week view (14.80 KB, patch)
2010-10-07 22:07 UTC, Carlos Martín Nieto
none Details | Review

Description Patrick 2003-03-26 08:54:43 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:


Steps to reproduce the problem:
1. In calendar,click "Work Week" icon to switch to "Work Week" view
2. Top Menu->File->Print Preview
3. 

Actual Results:
Show "Week" view in preview window

Expected Results:
"Work Week" view

How often does this happen? 


Additional Information:
Evolution 1.3.1.99(03/18/2003)
Comment 1 Rodrigo Moya 2003-04-03 11:35:12 UTC
This was not implemented neither in 1.2, it only prints days, weeks,
months or years, but no work weeks. Since it's not a regression from
1.2, marking it as post-1.4
Comment 2 JP Rosevear 2004-01-18 04:46:07 UTC
A feature we won't get to for 2.0
Comment 3 André Klapper 2004-05-24 14:09:04 UTC
*** bug 225450 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2004-09-22 11:34:15 UTC
adding "printing" keyword to make printing issues searchable again, finally...
sorry for the noise/spam.  :-/
Comment 5 André Klapper 2004-09-22 11:37:18 UTC
adding "printing" keyword to make printing issues searchable again, finally...
sorry for the noise/spam.  :-/
Comment 6 André Klapper 2004-09-22 11:38:53 UTC
adding "printing" keyword to make printing issues searchable again, finally...
sorry for the noise/spam.  :-/
Comment 7 André Klapper 2005-04-07 16:24:32 UTC
still valid
Comment 8 André Klapper 2005-04-07 16:24:43 UTC
*** bug 274442 has been marked as a duplicate of this bug. ***
Comment 9 André Klapper 2005-12-08 15:37:17 UTC
*** Bug 323528 has been marked as a duplicate of this bug. ***
Comment 10 André Klapper 2005-12-08 15:45:52 UTC
still in 2.4, retargetting
Comment 11 Eric Gillingham 2006-06-21 22:45:59 UTC
This is still a bug in now, is this even being thought of?
Comment 12 Erik Iverson 2006-10-27 22:59:32 UTC
Still in 2.6.3.

Comment 13 Adrian Sampson 2007-09-06 06:03:01 UTC
Still in 2.10.2, four and a half years later.
Comment 14 Diego Escalante Urrelo (not reading bugmail) 2008-04-02 11:18:15 UTC
Still valid.
Comment 15 gerhard.rauniak 2008-07-02 18:24:41 UTC
Still valid.
Comment 16 Joel Goguen 2008-08-27 00:44:45 UTC
Still in 2.22.3.1.  Has a particular release been targeted for a possible fix?
Comment 17 Matthew Barnes 2008-09-05 10:56:14 UTC
*** Bug 380167 has been marked as a duplicate of this bug. ***
Comment 18 Johannes Maibaum 2009-01-17 17:45:38 UTC
Still valid in 2.24.2 (Ubuntu 8.10)... It would be great to finally have this print option availiable!
Comment 19 Matthew Barnes 2009-01-17 17:55:52 UTC
It needs to be implemented first.  Patches welcome.
Comment 20 Akhil Laddha 2010-10-04 04:10:33 UTC
*** Bug 631230 has been marked as a duplicate of this bug. ***
Comment 21 Akhil Laddha 2010-10-04 04:16:53 UTC
moving to enhancement as per comment#2
Comment 22 Carlos Martín Nieto 2010-10-04 18:16:50 UTC
Created attachment 171713 [details] [review]
Initial support for work week printing

A small patch for an old bug.

The attached patch only prints correctly if all the events are inside of the work hours and no titles are printed (the date on top of each one).

The indenting is all wrong and this is not meant for inclusion, but I wanted to put this patch out there before I try to finish it in case anybody has suggestions or ideas.

The patch is based on the gnome-2.30 branch as it's the only version I've managed to get jhbuild to compile.
Comment 23 Carlos Martín Nieto 2010-10-07 17:18:33 UTC
Created attachment 171909 [details] [review]
Print the work week view

This reworked patch prints the work week view so it looks like the other views with the header, small months and such.

Printing events outside of work hours behaves correctly (the whole week prints out those times as well).

The time column is printed on both ends of the paper so you don't have to move your eyes to the other end of the paper, as you'd normally print this in landscape view.

For now, it only really prints Monday through Friday, but that's something that can be fixed if the approach in this patch is considered valid.
Comment 24 Carlos Martín Nieto 2010-10-07 17:25:14 UTC
Created attachment 171910 [details]
Sample output

This is a sample PDF with a timetable. My working hours are set 9 to 5 and the 8 o'clock lectures are handled well (the mixture of languages comes from my system being confused about what language I speak).
Comment 25 Carlos Martín Nieto 2010-10-07 22:07:45 UTC
Created attachment 171928 [details] [review]
Print the work week view

With the new patch, the day's name is printed between the header and the events.

I tested it with a semi-complicated file dave_largo sent me and it works fine.
Comment 26 Carlos Martín Nieto 2010-10-08 16:46:13 UTC
This problem has been fixed in the development version. The fix will be available in the next major software released (and backports, I assume).
Comment 27 brunobuellet 2010-12-05 14:06:00 UTC
Hello,
So I just update gnome & evolution from 2.30 to 2.32.1 under opensuse 11.3.
And we try to print the "work week view" but it always prints the "week view".
I installed 2.32 from the repository "http://download.opensuse.org/repositories/GNOME:/STABLE:/2.32/openSUSE_11.3/".
It seems to be included in release 2.32.x. Is possible to confirm it ?
Thank you.