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

Details

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

    Description

      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.

      Attachments

        1. main.cpp
          0.7 kB
        2. qtbug34204_diag.patch
          9 kB
        3. qtbug34204.log
          8 kB
        4. qtbug34204.zip
          5 kB
        5. SimpleTest.zip
          7 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes