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

Blank or missing pages in QPrintPreviewDialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • 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

    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

              johnlayt John Layt
              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