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

QWebFrame::print(QPrinter *) prints only first page on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.3.0 RC1, 5.3.0
    • 5.0.1
    • WebKit
    • Windows 7 Enterprise 64-bit,
      Qt Commercial 5.0.1,
      MinGW 4.7 32bit

      Printing content of QGraphicsWebView by using QWebFrame::print(QPrinter*) renders only the first page and rest of the pages are empty. The issue can only be seen on Windows. OS X and Linux are working fine.

      QPrinter printer;
      QPrintDialog dialog(&printer, 0);
      if (dialog.exec() == QDialog::Accepted) {
          qGraphicsWebView->page()->mainFrame()->print(&printer);
      } 
      
      

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

            jturcott Jocelyn Turcotte
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes