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

OS X: Multiple displays: After set visible=true, Window jumps to the main Screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.4.1, 5.5.0 Beta, 5.5.1, 5.6.0
    • Quick: Other
    • OS X 10.10.3, Windows 7
      multiple monitors configuration
    • macOS

    Description

      Precondition: 2 FullHD displays with coordinates:
      first screen: (0, 0), (1920, 1080)
      second screen (1921, 0), (3840, 1080)

      1) Application has only 1 invisible window.
      2) After main window component is created, set window coordinates to 1921,51 (coordinates on the second screen)
      3) Set window visible=true

      Result: Window is created on the first screen with coordinates 801,51
      Expected result: Window is created on the first screen with coordinates 1921,51

      This happens only if application is launched from the first screen(QtCreator window is on first screen or douple click on the application icon when Finder window is on first screen)

      When application is launched from the second screen, window has correct coordinates 1921,51.

      I've attached example.

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              bearteddy Anatoliy Bugaev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes