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

[REG] When a dialog is shown then it does not always appear where it is expected to.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.2.0 RC1
    • 5.1.1, 5.2.0 Alpha
    • None
    • Windows 7
    • Windows/multimonitor (for 5.2 RC) : a3d72efc650db6b0663e11e3448b77ba93a0a925

      When a dialog is shown with no parent then it ends up on the primary monitor regardless of where the cursor is. In the example attached, move the first window to the secondary monitor, click on it then the first dialog shows fine (which is parented to the mainwindow), click on OK and the next dialog will end up on the primary monitor.

      In another example, if you show a QMessageBox which has a parent then it will end up appearing at a different place each time instead of where it is expected to be.

        1. SimpleTest.zip
          7 kB
          Andy Shaw
        2. main.cpp
          0.7 kB
          Andy Shaw
        3. qtbug34204.log
          8 kB
          Friedemann Kleint
        4. qtbug34204.zip
          5 kB
          Friedemann Kleint
        5. qtbug34204_diag.patch
          9 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes