Bug 225451 - kmail: printing of html mails broken
Summary: kmail: printing of html mails broken
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml printing (show other bugs)
Version: 0.0.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 01:33 UTC by Marc Schiffbauer
Modified: 2012-01-05 19:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test-HTML-Mail with images (9.94 KB, application/mbox)
2010-02-04 01:46 UTC, Marc Schiffbauer
Details
Screenshot of Mail (157.81 KB, image/png)
2010-02-04 01:55 UTC, Marc Schiffbauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer 2010-02-04 01:33:23 UTC
Version:           1.13.0 (using KDE 4.4.0)
OS:                Linux
Installed from:    Gentoo Packages

Printing of html mails in kmail is somewhat broken.

Printing works in general, but the printed result is unusable.

Some elements are being printed, but there is free space of about a half page between a picture and text for example.

And pretty much of the text is not printed at all.

I guess this may be related to konqueror not being to print webpages: Bug #197824

I wil try to attach that email to this bug
Comment 1 Marc Schiffbauer 2010-02-04 01:46:57 UTC
Created attachment 40517 [details]
Test-HTML-Mail with images

This is a test mail saved via the "Save as.." thingy in kmail. 

Seems I have hit the next bug in kmail: When loading this mail, it looks different from the original (no HTML view anymore??)

So this mail may be inappropriate for testing :-(

I will create a screenshot now...
Comment 2 Marc Schiffbauer 2010-02-04 01:55:37 UTC
Created attachment 40518 [details]
Screenshot of Mail

This is a screenshot of the mail (the top image is an external reference)
Comment 3 John Layt 2010-02-04 19:17:13 UTC
It is very likely the same bug as konquorer, KMail uses the KHtml engine for displaying and printing html emails.  Reassigning to KHtml who can triage better to determine if it is an existing bug or not.
Comment 4 eric 2010-11-26 16:28:29 UTC
Yes, this happens here too with kmail/kontact and konqueror.
I'm using kmail/kontact version 4.4.7 and the rest is kde version 4.5.3.

I like to print important e-mails (flight tickets or hotel vouchers) and there is always a lot of text missing between the last line of a page and the first line of the next page.

My current "solution" is very unpractical:
- export the e-mail in to a mbox-file, name it *.html;
- edit this file (for example to remove unwanted headers);
- load this file in rekonq and print it there.
Comment 5 Martin Koller 2012-01-05 19:45:56 UTC
kmail2 (KDE4.8.rc2) uses QWebKit to render. The problem seems to be solved, the printout (to PDF) looks correct.