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 200082 - Different HTML for printed messages
Different HTML for printed messages
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Radek Doulik
Evolution QA team
: 200083 204012 206459 (view as bug list)
Depends on:
Blocks: 200083 216096
 
 
Reported: 2000-05-22 13:52 UTC by Matt Loper
Modified: 2013-09-10 14:02 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Matt Loper 2000-05-22 13:52:22 UTC

Comment 1 Dan Winship 2000-06-30 20:49:38 UTC
*** bug 200083 has been marked as a duplicate of this bug. ***
Comment 2 Dan Winship 2000-06-30 20:50:06 UTC
This has now been started, and various printing-related GtkHTML bugs entered.
Comment 3 Ettore Perazzoli 2000-07-13 17:33:11 UTC
We need to generate special HTML for printing.
Comment 4 Dan Winship 2000-09-19 15:11:14 UTC
Generating different HTML for printing should be easy... we just call
the formatter with some flag set in MailDisplay->data, and the relevant
formatting routines can check that.
Comment 5 Dan Winship 2001-07-06 15:06:40 UTC
*** bug 204012 has been marked as a duplicate of this bug. ***
Comment 6 Dan Winship 2001-08-06 15:57:07 UTC
We also need to ignore the theme colors when printing
Comment 7 Dan Winship 2001-08-06 15:57:44 UTC
*** bug 206459 has been marked as a duplicate of this bug. ***
Comment 8 Dan Winship 2001-10-28 22:02:12 UTC
Also, as discussed in bug 210346, you should be able to print
a message whether or not it's displayed.
Comment 9 Luis Villa 2001-10-29 18:32:36 UTC
Is this a 1.1 thing?
Comment 10 Dan Winship 2001-12-06 18:35:05 UTC
I think we should do this for 1.2
Comment 11 Not Zed 2001-12-09 22:46:47 UTC
being able to print with no message displayed is a real pita.
Comment 12 trow 2001-12-11 18:06:32 UTC
Fixed in CVS.
Comment 13 Dan Winship 2001-12-11 18:12:58 UTC
There's more to this:

- URLs should not be blue
- Attachments should be summarized rather than being printed as
  objects that you can't click on on the printed page
- We may want to redo the headers
- We need page numbers
- ...

Comment 14 Anna Marie Dirks 2001-12-14 22:25:49 UTC
A few more thoughts: 

* replies, if the user has selected the default color for citations,
are printed too lightly to be really legible. They should be printed
in black, not light grey.

* it would be useful to print the date/time that the message is printed
* "Reply-to" seems particularly irrelevant wrt printing
Comment 15 trow 2001-12-17 21:42:03 UTC
OK, here is what is done so far:

* Stuff to hack around funny styles is disabled when printing.
* You can print messages when the preview pane is closed.
* URLs/addresses aren't colored.
* Attachments are either summarized or just printed.  The
  little bar with the preview and the control for
  making them appear/disappear isn't printed.
* The user-selected citation color is ignored when printing.
  It is always just black.

The main thing that is left to do is headers/footers.

Anna: I'm not sure if dropping headers is a good idea.  Knowing what
address someone wants mail sent to is valuable information that could
be useful to have in a printed form.


  
Comment 16 Ettore Perazzoli 2001-12-19 20:26:09 UTC
Reply-To should be left there.

As for the citation -- what if we make the text Bold or Italics instead?
Comment 17 trow 2002-01-02 07:07:12 UTC
As I mentioned above, the main to-do here is headers and footers.
Comment 18 Jeffrey Stedfast 2002-01-22 18:41:22 UTC
what needs to be in the headers/footers?

marking as 1.1.0 since I *think* this could probably be done by then
Comment 19 Radek Doulik 2002-01-30 21:14:53 UTC
So I've added "Page %d of %d" footer, changed citation so that it's
printed in italic. I think it's OK to leave it for now. Once we move
to GNOME 2.0 we could do more complicated things as printing cfg dialog.