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

qpagesetupdialog_win.cpp - setting landscape orientation

XMLWordPrintable

    • Windows
    • 6ce44c53c7aa802b817b72d49de88e4da0181488

      Setting landscape orientation in QPageSetupDialog causes inconsistent display in QPrintPreviewDialog.
      Preview stays in portrait orientation whereas button with landscape icon is checked.
      In qpagesetupdialog_win.cpp PageSetupDlg is used to obtain paper size which might be given with width greater than height
      whereas QPageSize is defined always in a portrait layout regardless of what current printer orientation is set to.
      Setting page size from values obtained directly from PageSetupDlg: ptPaperSize.x and ptPaperSize.y might cause the problem.

        1. print_bug.bmp
          2.01 MB
          Joanna
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vhilshei Volker Hilsheimer
            pandora Joanna
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes