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 333695 - Meeting attendees can neither be shown in print preview nor be printed
Meeting attendees can neither be shown in print preview nor be printed
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.6.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
: 238199 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-07 05:31 UTC by Irene Huang
Modified: 2013-09-13 00:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
proposed evo patch (2.66 KB, patch)
2007-11-21 17:53 UTC, Milan Crha
needs-work Details | Review
proposed evo patch ][ (4.09 KB, patch)
2008-01-04 19:16 UTC, Milan Crha
committed Details | Review
proposed evo patch ]I[ (1.14 KB, patch)
2008-01-15 10:08 UTC, Milan Crha
committed Details | Review

Description Irene Huang 2006-03-07 05:31:32 UTC
Please describe the problem:
When I tried to print a meeting summary, it failes to print the list of attendees.

Steps to reproduce:
1. create a meeting with several attendees 
2. right click the meeting and click the print item
3. click the print preview button (or print it)


Actual results:
no attendee is listed in print preview

Expected results:
Attendees should be shown

Does this happen every time?
yes

Other information:
Comment 1 Milan Crha 2007-11-21 17:53:38 UTC
Created attachment 99448 [details] [review]
proposed evo patch

for evolution;

This patch adds into the day view and into the non-all-day events list of mails of attendees. It's only for day-view and non-all-day events because of not much space for such things in all those other views.

I also realized that cairo_clip doesn't work as expected, at least for me, it doesn't clip text region, neither the lines outside of clipping region (as I tested it), so if I'm right, then just blame to cairo when the text will be shown out of the box. :)
Comment 2 Srinivasa Ragavan 2007-11-22 17:19:39 UTC
Chen, can you review this?
Comment 3 Chenthill P 2007-11-27 11:20:42 UTC
I think its better not to print the attendees in the day view as meeting can have even more than 50 attendees. Listing the attendees while printing the meeting details would be fine as mentioned in the description of the bug. 

The function print_attendees can be called if the attendees are present or a check such as e_cal_component_has_attendees can be used inside the function. While printing the meeting, you can also add sections for required participants, optional etc.
Comment 4 Milan Crha 2008-01-04 19:16:28 UTC
Created attachment 102150 [details] [review]
proposed evo patch ][

for evolution;

One note: I know I violated coding style in this patch, but please believe me that the change in get_type_as_string and in get_role_as_string is just a waste of space and this is readable even better from my point of view.

Another note: there is a new string, _("Attendees: ").
Comment 5 Chenthill P 2008-01-13 10:05:41 UTC
The patch looks good to commit. Including the name of the Attendees while printing would be better.
Comment 6 Suman Manjunath 2008-01-14 10:46:10 UTC
Committed to SVN trunk as r34816
(http://svn.gnome.org/viewvc/evolution?view=revision&revision=34816)

String change will be announced shortly.
Comment 7 Milan Crha 2008-01-15 10:08:23 UTC
Created attachment 102889 [details] [review]
proposed evo patch ]I[

for evolution;

here's a rest of the patch, to print a name instead of email, if available.
Comment 8 Chenthill P 2008-01-15 10:10:04 UTC
Looks good to commit.
Comment 9 Milan Crha 2008-01-15 10:12:46 UTC
Committed to trunk. Committed revision 34828.
Comment 10 Milan Crha 2008-01-29 17:07:37 UTC
*** Bug 238199 has been marked as a duplicate of this bug. ***