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 618102 - Single event print doesn't show time
Single event print doesn't show time
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.28.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 625147 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-05-08 11:27 UTC by Nick Jenkins
Modified: 2010-11-02 17:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Editing/creating app1, and printing it. (75.18 KB, image/png)
2010-10-05 23:09 UTC, Nick Jenkins
  Details
Printer output in single-item-view, which does not include item's time information. (15.53 KB, application/x-download)
2010-10-05 23:10 UTC, Nick Jenkins
  Details
evo patch (3.49 KB, patch)
2010-10-06 09:12 UTC, Milan Crha
committed Details | Review

Description Nick Jenkins 2010-05-08 11:27:06 UTC
Steps to reproduce:
1) Switch to calendar view ( View -> Window -> Calendars ).
2) File -> New -> Appointment.
3) Enter a summary of "Summary", a location of "Location", a description of "description", and a time (e.g. 9 AM to 9:30 AM).
4) File -> Print -> "Print Preview" button.

What happens:
The time field is not shown (e.g. 9 AM to 9:30 AM). All other fields (summary, location, description, and attendees for a meeting) are shown.

What should happen:
The time field should be included in the printer output. When something is supposed to start and finish are very important attributes of a calendar event - equally as important as who, where, and what - and therefore it should be included when printing calendar appointments and meetings.
Comment 1 Milan Crha 2010-10-05 14:39:45 UTC
Thanks for a bug report. I just tried to reproduce this on 2.32.0 and I think it works as expected. See what I tried:
a) Create "app1" between  9:10-10:20
b) Create "app2" between 10:00-12:00
c) Create "app3" between 11:30-12:30

My time division is 30 minutes. What I see in File->Print Preview depends on the view I call it from, namely:
a) day view - there is a time indicated on the left column, like in the day view, and all but "app1" fits 30 minutes division exactly, thus for those is not shown the time. Only "app1" has time shown.
b) work week view, week view - a week view is printed, it shows times for all but whole day events.
c) month view - times are shown similar to b)

It's not an issue, from my point of view.

What do you think?

(Note I do not think there changed much between 2.30.x and 2.32.0 with respect of time showing, so it might behave pretty the same with 2.30.x too.)
Comment 2 Nick Jenkins 2010-10-05 23:08:14 UTC
Sorry! This is my fault, because I unintentionally omitted an explanation in the description. The problem is still there (at least in 2.28.x), but I have not described it correctly, and I apologize for this.

Everything in comment 1 is absolutely correct - the printing of the calendar from the day / week / month views will show times, apart from whole day events, or where it lines up exactly with the time markers (e.g. events that start on the hour).

The problem is when opening/editing an event, and printing whilst inside that event. This is something I do reasonably often, as descriptions often include things like directions, or detailed instructions, or an itinerary/agenda, and it's often useful to have a hard copy of these.

So for example, when creating/editing "app1", if you then print it, whilst inside it (or by right-clicking on it in the calendar and going "Print..."), then this single-appointment-view does not include the time information. To illustrate, I will attach a screenshot of the dialog for app1, and the resulting printer output (as a PDF).
Comment 3 Nick Jenkins 2010-10-05 23:09:32 UTC
Created attachment 171792 [details]
Editing/creating app1, and printing it.
Comment 4 Nick Jenkins 2010-10-05 23:10:44 UTC
Created attachment 171793 [details]
Printer output in single-item-view, which does not include item's time information.
Comment 5 Nick Jenkins 2010-10-05 23:38:52 UTC
Sorry, one more bit of info: It would be ideal if the output could include the date, as well as the time. For example:
* For single-day events, like the above app1 example, maybe something like "<bold>Time: 9:10 AM - 10:20 AM, Wed 06/10/2010</bold>".
* For multi-day events, maybe something like "<bold>Time: 9:10 AM Wed 06/10/2010 - 5:45 PM Thurs 14/10/2010</bold>".
* For zero-length events, maybe something like "<bold>Time: 9:10 AM Wed 06/10/2010</bold>".
Note sure where this would fit well - maybe between the "Summary" and the "Location" fields?
Comment 6 Milan Crha 2010-10-06 08:24:33 UTC
Ah, I see, it should be obvious when you wrote you see there the 'description'. It's something not shown anywhere else.
Comment 7 Milan Crha 2010-10-06 09:12:06 UTC
Created attachment 171810 [details] [review]
evo patch

for evolution;

It was printing the time, but out of the clip rectangle, so it wasn't visible (only the last change is necessary to have this working).

But because there was shown full date for both start and end times even when they were on the same day, then I changes this too, to print times like:
  Tue 10/05/2010 19:30 to 20:30
rather than (harder to read)
  Tue 10/05/2010 19:30 to Tue 10/05/2010 20:30
Comment 8 Milan Crha 2010-10-06 09:14:34 UTC
Created commit f2d7e05 in evo master (2.91.1+)
Created commit 77eb1f7 in evo gnome-2-32 (2.32.1+)
Comment 9 Nick Jenkins 2010-10-07 03:30:52 UTC
Yay, thank you very much Milan, looking forward to using this is in 2.32.1+.
Comment 10 Milan Crha 2010-11-02 17:10:36 UTC
*** Bug 625147 has been marked as a duplicate of this bug. ***