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

screwed up printed result from QWebView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.2.0 Beta1
    • WebKit
    • None
    • 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
          40 kB
          ruslan
        2. preview.png
          56 kB
          ruslan
        3. print.png
          13 kB
          ruslan
        4. style.css
          0.2 kB
          ruslan
        5. test.html
          0.7 kB
          ruslan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            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