RESOLVED INVALID 89756
[Qt] Printing QWebView not longer takes into account page breaks.
https://bugs.webkit.org/show_bug.cgi?id=89756
Summary [Qt] Printing QWebView not longer takes into account page breaks.
Kaylx
Reported 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
Attachments
Bug Example (9.32 KB, application/octet-stream)
2012-06-22 06:12 PDT, Kaylx
no flags
Kaylx
Comment 1 2012-06-22 06:12:39 PDT
Created attachment 149013 [details] Bug Example
alam7
Comment 2 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
Damian Momot
Comment 3 2012-11-04 08:44:35 PST
Same problem for me when using QT 4.8.2
Adrian Jäkel
Comment 4 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 :(
Adrian Jäkel
Comment 5 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 ?
Kaylx
Comment 6 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.
Jocelyn Turcotte
Comment 7 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.
Note You need to log in before you can comment on or make changes to this bug.