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

[Windows] [D3D11] Calling SetWindowDisplayAffinity() breaks scene geometry

    XMLWordPrintable

Details

    • Windows

    Description

      Calling SetWindowDisplayAffinity() with any flag on a main window breaks the scene geometry.
      Relevant only for D3D11 RHI backend (default on Windows), not reproducible with OpenGL RHI.

       

      See simple demo project WindowAffinity.zip

      Steps to reproduce:
      1. Build and run sample project
      2. Push the button
      3. Observe the window

       

       

      Actual results: all Quick scene is shifted at the top left, visual artifacts, etc
      Expected results: no side effects

      Attachments

        1. image-2023-09-07-18-50-47-416.png
          5 kB
          Vladimir Belyavsky
        2. VID_20230907_183614.mp4
          8.94 MB
          Vladimir Belyavsky
        3. WindowAffinity.zip
          2 kB
          Vladimir Belyavsky

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              studiosus Vladimir Belyavsky
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes