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

Windows: QWindowsScreenManager::handleScreenChanges treats screens with the same name as if they are the same physical device

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.2.5
    • 6.2.4
    • QPA: Windows
    • None
    • Windows 10 21H2
    • Windows

      In the fix for QTBUG-74317, a change was made to use a "presentable" name for each display instead of the previously generated name (which happened to be unique for each display). This causes a problem because QWindowsScreenManager::handleScreenChanges() treats the items in newDataList as if they are the same physical display if they have the same name.

      The upshot is that if you have multiple identical displays connected to your machine, Qt will see those as only 1 display. This results in weird behavior, such as that I reported in QTBUG-101202.

      I have attached the relevant output from qtdiag.exe version 5.15.3 and 6.2.4.

      qtdiag_screens.txt

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

            sorvig Morten Sørvig
            aclight Adam Light
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes