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 106095 - Body of HTML emails printed as attachment icon only.
Body of HTML emails printed as attachment icon only.
Status: RESOLVED FIXED
Product: balsa
Classification: Other
Component: general
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-02-14 15:37 UTC by Andrew Lau
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch against current cvs (20.06 KB, patch)
2003-06-27 01:40 UTC, Peter Bloomfield
none Details | Review
Patch for current cvs (26.32 KB, patch)
2003-07-09 12:08 UTC, Peter Bloomfield
none Details | Review
New file (6.87 KB, text/plain)
2003-07-09 12:09 UTC, Peter Bloomfield
  Details
New file (2.16 KB, text/plain)
2003-07-09 12:10 UTC, Peter Bloomfield
  Details

Description Andrew Lau 2003-02-14 15:37:51 UTC
Arno Peters originally filed the following bug report at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=180899

Summary:
Printing a HTML-only mail with Balsa will show only the text/html icon
instead of the contents of the message.
Comment 1 Peter Bloomfield 2003-06-27 01:39:18 UTC
As was discussed on the Balsa list: the simplest solution seems to
involve GtkHtml-3, which is the Gnome-2 port of the original GtkHtml
(I believe!), and is used by the Gnome-2 port of Evolution (I believe).

I've worked up a patch, which checks for GtkHtml-3 and uses it if
installed, in which case it can print HTML message parts (too high,
for some reason, and consequently overprinting the page numbers). It
touches configure.in, about which I'm massively ignorant, so it should
be handled as a high-level biohazard, but I'm going to post it here
anyway--YHBW!
Comment 2 Peter Bloomfield 2003-06-27 01:40:22 UTC
Created attachment 17818 [details] [review]
Patch against current cvs
Comment 3 Peter Bloomfield 2003-07-09 12:07:23 UTC
Here's a more extensive patch, exploiting more of the capabilities of
GtkHtml-3:
- print html parts;
- select-all and copy in html parts;
- quote html parts when replying.
It also makes zooming conditional on HAVE_GTKHTML, which it should
have been all along.

Three files follow:
- a patch (for current HEAD cvs);
- libbalsa/html.c (new file);
- libbalsa/html.h (new file).
Comment 4 Peter Bloomfield 2003-07-09 12:08:28 UTC
Created attachment 18168 [details] [review]
Patch for current cvs
Comment 5 Peter Bloomfield 2003-07-09 12:09:23 UTC
Created attachment 18169 [details]
New file
Comment 6 Peter Bloomfield 2003-07-09 12:10:04 UTC
Created attachment 18170 [details]
New file
Comment 7 Carlos Morgado 2003-07-14 23:18:23 UTC
gar. do you have a nice gtkhtml3 rpm ? :)
Comment 8 Peter Bloomfield 2003-07-15 00:20:00 UTC
These are what I installed over RH9:

gtkhtml3-3.0.3-1.i386.rpm
gtkhtml3-devel-3.0.3-1.i386.rpm
libgal2-1.99.4-1.i386.rpm
libgal2-devel-1.99.4-1.i386.rpm
libgnomecanvas-2.2.0.2-1.i386.rpm
libgnomecanvas-devel-2.2.0.2-1.i386.rpm

Iirc, there are more recent gtkhtml3 rpms, but they required more
upgrades, and I just didn't want to go there...
Comment 9 Kjartan Maraas 2003-10-05 21:35:06 UTC
Are these patches moving balsa to using gtkhtml3 instead of gtkhtml2
or am I missing something?
Comment 10 Carlos Morgado 2003-10-05 23:17:00 UTC
Isn't this fixed Peter ?
Comment 11 Pawel Salek 2004-02-08 13:05:45 UTC
I close this report since gtkhtml3 support is in balsa now.