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
Created attachment 149013 [details]
I see the seem problem, I dont now why i do, can i find patch ? to reselve this bugs , thanks
Same problem for me when using QT 4.8.2
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 :(
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 ?
[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.
=== 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.