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

Blank or missing pages in QPrintPreviewDialog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Out of scope
    • Affects Version/s: 4.6.1, 4.7.1
    • Fix Version/s: 4.8.x
    • Component/s: GUI: Printing
    • Labels:
      None
    • Environment:
      Windows XP sp3, qt sdk 2010.01 and qt sdk 2010.05

      Description

      Project with sample code attached.
      issue 1:
      1) Build project
      2) run app and click on 'using QTextEdit.print()' button
      result: Print preview will open with just the second page showing
      expected: Print preview of both pages

      issue 2:
      1) Build project
      2) run app and click on 'using QPainter' button
      result: Print preview with two blank pages
      expected: Print preview of both pages

      work around: comment out ui->textEdit->hide() call in MainWindow constructer and uncomment the call in 'on_pushButton_2_clicked(). This time the two pages will show as expected

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              johnlayt John Layt
              Reporter:
              schnitzel Schnitzel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes