Bug 303278 - Printing HTML to PDF shows overlapping table text on floated image
Summary: Printing HTML to PDF shows overlapping table text on floated image
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml printing (show other bugs)
Version: 4.8.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL: http://tellico-project.org/movie-repo...
Keywords:
: 291283 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-10 04:56 UTC by Robby Stephenson
Modified: 2024-05-06 20:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
PDF produced by Konqueror from http://tellico-project.org/movie-report/movie-report.html (236.14 KB, application/pdf)
2012-07-10 05:01 UTC, Robby Stephenson
Details
PDF produced by Firefox from http://tellico-project.org/movie-report/movie-report.html (128.35 KB, application/pdf)
2012-07-10 05:06 UTC, Robby Stephenson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Stephenson 2012-07-10 04:56:03 UTC
When printing http://tellico-project.org/movie-report/movie-report.html, at some point, the text in the table ends up overlapping the images. The overlap is not shown when viewing the HTML in konqueror (khtml) or firefox. The problem is not there when printing to PDF with Firefox. So far, only when printing to PDF from Konqueror.

I'll attach the resulting PDF from printing from Konqueror. The first block on page 2, for the movie The Aviator, shows the text on top of the image.

The issue was initially seen when printing from Tellico and was reported as bug #291283. I tried to reduce the HTML file to make the test case shorter and simpler, but was not successful.

The webpage validates as HTML 4.01 Strict, so it doesn't appear to be an HTML issue.

Reproducible: Always

Steps to Reproduce:
1.File->Print
2.Select Print to PDF
3.Open resulting PDF and see the overlapping text and images.
Actual Results:  
Text overlaps the image at the top of page 2.

Expected Results:  
The text should not overlap the image. In the browser window, the text does not overlap.
Comment 1 Robby Stephenson 2012-07-10 05:01:08 UTC
Created attachment 72415 [details]
PDF produced by Konqueror from http://tellico-project.org/movie-report/movie-report.html
Comment 2 Robby Stephenson 2012-07-10 05:06:28 UTC
Created attachment 72416 [details]
PDF produced by Firefox from http://tellico-project.org/movie-report/movie-report.html

Note that none of the text overlaps the images, though Firefox prints smaller by default, it seems.
Comment 3 Robby Stephenson 2012-07-10 05:08:20 UTC
*** Bug 291283 has been marked as a duplicate of this bug. ***
Comment 4 Albert Astals Cid 2012-07-13 09:26:00 UTC
I'd say this is a khtml but, not a print-dialog but
Comment 5 Albert Astals Cid 2012-07-13 09:26:16 UTC
s/but/bug
Comment 6 Robby Stephenson 2012-07-13 15:15:59 UTC
(In reply to comment #4)
> I'd say this is a khtml but, not a print-dialog bug

True. What component is that, kdecore? general?
Comment 7 Albert Astals Cid 2012-07-13 17:15:00 UTC
Reassigned for you :-)
Comment 8 Christoph Cullmann 2024-05-06 20:57:32 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann