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

screwed up printed result from QWebView

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.2.0 Beta1
    • Fix Version/s: None
    • Component/s: WebKit
    • Labels:
      None
    • Environment:
      Windows 7
      QtCreator 3.0.0-beta
      Qt 5.2.0-beta1 MinGW x32

      Description

      When I print HTML file from QWebView I get incorrect result. Usually tables and centered text look misplaced (See attached images). Text with "text-align:center" style is not really centered. Preview dialog shows the page correctly.

      To reproduce:
      1. Compile "browser" project from Qt examples
      2. Open attached HTML file.
      3. Print it from menu File/Print

      I've tried both virtual (FinePrint) and real printers. Same result.

      I tested same functionality in 4.8.2 and it looks normally

        Attachments

        1. browser.png
          browser.png
          40 kB
        2. preview.png
          preview.png
          56 kB
        3. print.png
          print.png
          13 kB
        4. style.css
          0.2 kB
        5. test.html
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              folibis ruslan
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes