Bug 206799

Summary: Printing is completely broken in khtml
Product: [Applications] konqueror Reporter: Jani-Matti Hätinen <jani-matti.hatinen>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: germain, jk
Priority: NOR    
Version: 4.3.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Example print of the bugs.kde.org page of this bug
Example print of a Google search result page

Description Jani-Matti Hätinen 2009-09-09 00:04:46 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Printing webpages is completely broken in khtml and has been for the lifetime of KDE4.

I just tested it on a few pages and couldn't even get a Google search results page to print properly.

I'll attach a few pdf examples.
Comment 1 Jani-Matti Hätinen 2009-09-09 00:07:34 UTC
Created attachment 36803 [details]
Example print of the bugs.kde.org page of this bug
Comment 2 Jani-Matti Hätinen 2009-09-09 00:10:13 UTC
Created attachment 36804 [details]
Example print of a Google search result page
Comment 3 Jani-Matti Hätinen 2009-09-09 00:12:47 UTC
When using the webkit-kpart, printing from konqueror works just fine, so this is a khtml specific issue.
Comment 4 Jeremy Kerr 2010-02-05 18:42:29 UTC
For me, it looks like this happens on pages with forms. The following HTML will expose the broken behaviour when printing (including printing to PDF):

<html>
 <head/>
 <body>
  <p>before form</p>
  <form>
   <input type="text">
  </form>
  <p>after form</p>
 </body>
</html>

The 'before form' text does not appear on the printed output.
Comment 5 Germain Garand 2010-02-27 06:49:47 UTC

*** This bug has been marked as a duplicate of bug 214352 ***