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

qpagesetupdialog_win.cpp - setting landscape orientation

    XMLWordPrintable

Details

    • Windows
    • 6ce44c53c7aa802b817b72d49de88e4da0181488

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes