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

QScreen's available geometry is not updating when moving an application between eDP displays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 6.5.2, 6.6.3
    • QPA: Windows
    • WIN2024 system (26063 EEAP) with 2 eDP displays (Non-OLED,  1920*1080, 60Hz, Non-OLED, 2880*1800 , 60Hz)
    • Windows

    Description

      On a WIN2024 system (26063 EEAP) with 2 eDP displays (Non-OLED,  1920*1080, 60Hz, Non-OLED, 2880*1800 , 60Hz{}), QScreen is not reporting correct geometry values when the QT application is moved from one screen to another. For example, if the 1080p display is set as the primary monitor and the application is dragged from the primary to the secondary monitor, the logs of the application show the geometry values of only the primary monitor. Note: The application logs the geometry values upon a WM_MOVE event trigger.

      A compiled build of a QT sample has also been attached to this ticket to demonstrate the logic and issues faced. The sample will output geometry values, available size, and the physical size to a text file called "output.txt". While running the sample in the above-mentioned setup, note the values seen in the output file.

      You can find the compiled EXE (EVENT_TEST_2.exe) in the attached folder. When the exe is run, a QT window will pop up and as you drag the window around, an output file (output.txt) will be generated in the same folder.

      Attachments

        1. QTBUG-124202.zip
          1.0 kB
        2. QTSample.zip
          29.29 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            sairaja Sai Raja
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes