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

Problem with custom paper sizes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 3.x, 5.12.4
    • GUI: Printing
    • None

    Description

      Problem with custom paper sizes

      Steps to reproduce / test case
      1) Open fontsampler example
      2) Open print preview dialog
      3) Open page setup dialog
      4) Select A0 paper size and Landscape orientation ( I can reproduce it also on A1, A10 sizes )
      5) Click OK button

      You may see that print preview dialog shows Portrait orientation.
      More information
      I have found that in QWin32PrintEnginePrivate::updateCustomPaperSize width and height taken from FORM_INFO_1 are always returned in "portrait sizes" (width < height), but I couldn't find if they are swapped in case of orientation. I use PdfCreator for testing printing.

      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
              edie Daron Andrew Edie (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes