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

        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