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

QPrintDialog position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 4.8.4
    • GUI: Printing
    • None
    • VS2010, Win7, x64

    Description

      QPrintDialog's exec() works different than QDialog's exec(). The print dialog position is not centered on screen, however it has a parent.

      eg:
      QPrintDialog dialog( printer.get(), this );
      continuePrint = dialog.exec() == QDialog::Accepted;
      --> not centered (appears on the top left corner)

      but if I use here this:
      QDialog tmp(this);
      tmp.exec();
      it's centered...

      It's a mistake by me, or a bug?

      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
              fegan Fegyvári András
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes