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

qpagesetupdialog called from qprintpreviewdialog doesn't use the printDevice default paper size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.13.0 Beta 1
    • 5.11
    • GUI: Printing
    • None
    • Linux/X11

    Description

      QPrintPreviewDialog constructs a QPageSetupDialog for the "Page Setup" action; the latter's constructor ultimately calls QPageSetupWidget::setPrinter with a nullptr for the printDevice parameter, which means it always uses A4 paper size instead of whatever default paper size set in lpoptions.

      Attached is a patch that should fix the issue; basically it complements the change in commit ff67dedaaff2dc68571ca9c8c6c6eeaaf084eae4 (which made the Page tab on QPrintPropertiesDialog use the printDevice default paper size).

       

       

      Attachments

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

        Activity

          People

            tsdgeos_kdab Albert Astals Cid
            ahmad.samir Ahmad Samir
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes