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

Manual testing - setscreen creates window in wrong display

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.0 FF
    • Testing: qtestlib
    • None
    • Windows

    Description

      In the manual test setscreen, the window is being created in the wrong display. The window will be created in the screen in which the application window is located in, no matter what screen you have selected as a target.

       

      Steps to reproduce:

      1. Move the application window to Display 2.
      2. Under "Select target screen", select Display 1.
      3. Left-click "Show on Screen". Notice that a window opens in Display 2 with the information about Display 2, which is not meant to happen.
      4. Do not close the window that opened, and leave the selected target as Display 1.
      5. Left-click "Show on Screen" once more. Notice that the opened window changes, now displaying the expected information about Display 1 and resizing the elements in accordance with Display 1 resolution. The window itself is still located in display 2.

       

      Expected behavior:

      After having selected a target display, a window should be created in that display with its information when you left-click "Show on Screen".

       

      Observed behavior:

      Consider that you have two displays, Display 1 and Display 2, and the application window is in Display 2. When no window has been opened yet and Display 1 is selected under "Select target screen", the window with the information for Display 2 will be opened in display 2 when you left-click "Show on Screen".

      If you do not close the window that opened in display 2, and Display 1 is still selected under "Select target screen", and you left-click "Show on Screen" again, it will update the window that was already opened with the correct information about Display 1, and resize the elements inside accordingly to Display 1 resolution, but the window is still in Display 2.

      Attachments

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

        Activity

          People

            macadder Jason McDonald
            chrisrl Chris Lerner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes