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

screwed up printed result from QWebView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.2.0 Beta1
    • WebKit
    • None
    • Windows 7
      QtCreator 3.0.0-beta
      Qt 5.2.0-beta1 MinGW x32

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes