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

printing a QWebFrame to a printer produces only blank pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • 4.7.4
    • 4.7.2, 4.7.3
    • GUI: Printing
    • None
    • Windows XP/7, mingw32

    Description

      When printing to a printer via QWebFrame::print(QPrinter *) the printer just prints blank white pages. When printing to a file (ps or pdf), everything gets printed fine.

      See the attached testcase.

      Printing anything else works very well, so for that reason I first posted this bug at the webkit bugtracker (see https://bugs.webkit.org/show_bug.cgi?id=61271), but it seems not to be a webkit issue.
      The problem is known to exist in Qt 4.7.2/3 as when everything worked fine in 4.7.0. No problems with this on linux at all.

      Attachments

        1. patch.diff
          1 kB
        2. test.cpp
          0.4 kB
        3. test.pro
          0.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            elrohir Timo Schlüßler
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes