Bug 89756 - [Qt] Printing QWebView not longer takes into account page breaks.
Summary: [Qt] Printing QWebView not longer takes into account page breaks.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-22 06:11 PDT by Kaylx
Modified: 2014-02-03 03:21 PST (History)
3 users (show)

See Also:


Attachments
Bug Example (9.32 KB, application/octet-stream)
2012-06-22 06:12 PDT, Kaylx
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kaylx 2012-06-22 06:11:42 PDT
Upgraded from Qt 4.7.4 to Qt 4.8.2 to find that page breaks in our html when printed to pdf format are no longer taken into account and seem to be ignored.

Printing QWebView with QPrinter::PdfFormat
HTML uses CSS styles "page-break-before:always;" and "page-break-after:always;"

See attached example TestReport.zip.
Contains: TestReport.html, TestReport-4.7.4.pdf, TestReport-4.8.2.pdf
Comment 1 Kaylx 2012-06-22 06:12:39 PDT
Created attachment 149013 [details]
Bug Example
Comment 2 alam7 2012-07-09 01:42:51 PDT
Hello , 

I see the seem problem, I dont now why i do, can i find  patch ? to reselve this bugs , thanks
Comment 3 Damian Momot 2012-11-04 08:44:35 PST
Same problem for me when using QT 4.8.2
Comment 4 Adrian Jäkel 2013-07-02 07:24:58 PDT
Still existing in Qt 4.8.5. Im relying on page breaks for printing reports in my application so unfortunately because of this bug i still have to use outdated Qt 4.7 :(
Comment 5 Adrian Jäkel 2013-07-02 09:10:12 PDT
Is there any chance to find the breaking changes for this? I tried to look through the code but this hard without a starting point. Were there some major webkit changes between 4.7 and 4.8 ?
Comment 6 Kaylx 2013-08-28 01:30:03 PDT
[UPDATE] I have reported the issue on the actual qt-project bug tracker in the hope the issue will finally get some attention.  For anyone with the issue, can you please head over to https://bugreports.qt-project.org/browse/QTBUG-33207 and vote on it, this will increase the chances of it being fixed.
Comment 7 Jocelyn Turcotte 2014-02-03 03:21:25 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.