GNOME Bugzilla – Bug 333695
Meeting attendees can neither be shown in print preview nor be printed
Last modified: 2013-09-13 00:48:16 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:
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. :)
Chen, can you review this?
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.
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: ").
The patch looks good to commit. Including the name of the Attendees while printing would be better.
Committed to SVN trunk as r34816 (http://svn.gnome.org/viewvc/evolution?view=revision&revision=34816) String change will be announced shortly.
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.
Looks good to commit.
Committed to trunk. Committed revision 34828.
*** Bug 238199 has been marked as a duplicate of this bug. ***