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

Layout problem when printing from QWebView on Windows

    XMLWordPrintable

Details

    • 584088f2007d36658e3667df38c4e7f66fe66c9a (qtbase/stable, 21.3.2014, 5.3.0) fbd0e4489c936394a55f8084af2aab4ef2456360

    Description

      The page layout seems to be broken in the printed output on Windows. Print preview is displayed properly.

      Printing to PDF file works ok.

      Problem is occurred when printing from QWebView. Similar problem was printing from QTextDocument/QTextEdit but it's fixed in 5.2.1 (https://bugreports.qt-project.org/browse/QTBUG-35500).

      Example project, screenshot and output files attached.

      Attachments

        1. 1224_001.pdf
          81 kB
        2. 1260_001.pdf
          78 kB
        3. multipage_example_501.jpg
          multipage_example_501.jpg
          528 kB
        4. output_to_native_printer.pdf
          339 kB
        5. output_to_pdf.pdf
          13 kB
        6. print_preview.jpg
          print_preview.jpg
          185 kB
        7. printed_5.0.1.jpg
          printed_5.0.1.jpg
          306 kB
        8. printed_5.3.0.jpg
          printed_5.3.0.jpg
          278 kB
        9. qtbug36308.zip
          3 kB
        10. qwebview_print_issue.zip
          4 kB

        Issue Links

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

          Activity

            People

              andysh Andy Shaw
              jimcad J Matilainen
              Votes:
              18 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes