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

Blank or missing pages in QPrintPreviewDialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.8.x
    • 4.6.1, 4.7.1
    • GUI: Printing
    • None
    • Windows XP sp3, qt sdk 2010.01 and qt sdk 2010.05

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes