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

Direct2D only render a quarter of the UI in 192DPI monitor settings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.1
    • Fix Version/s: None
    • Component/s: GUI: Painting
    • Labels:
      None
    • Environment:
      Windows 10
    • Platform/s:
      Windows

      Description

      With a 4k monitor, select 3840x2160 resolution and size of text to be 200%

      Expected:

      UI rendered normally.

       

      Actual:

      UI rendered on a quarter of the window, with the rest being black.

       

      I have attached the changes I made to fix this problem, along with various bugs in clip aliasing, clearing of wrong paint region.

        Attachments

        1. qpainter.cpp
          267 kB
        2. qwindowsdirect2dbackingstore.cpp
          5 kB
        3. qwindowsdirect2dbitmap.cpp
          7 kB
        4. qwindowsdirect2dbitmap.h
          3 kB
        5. qwindowsdirect2dpaintdevice.cpp
          5 kB
        6. qwindowsdirect2dpaintengine.cpp
          63 kB
        7. qwindowsdirect2dwindow.cpp
          13 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              qt.team.graphics.and.multimedia Qt Graphics and Multimedia Team
              Reporter:
              jiaqiang Jiaqiang Bai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes