Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33207

Printing QWebView not longer takes into account page breaks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.8.0, 4.8.1, 4.8.2, 4.8.3, 4.8.4, 4.8.5, 4.8.6, 5.1.1
    • None

    Description

      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

      Original Issue: https://bugs.webkit.org/show_bug.cgi?id=89756

      Attachments

        1. qwebframe.cpp.patch
          0.5 kB
        2. TestReport.zip
          9 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              kaylx Kaylx
              Votes:
              15 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes