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

Items' Accessible bound rect is incorrect in High DPI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.1
    • 5.6.0
    • None
    • Windows 10 , MSVC2013 x64 in a 4K monitor with 200% High DPI
    • d7a3b6145999d015997e26e12a7345f774b053f3 (qtbase/5.6, 26.4.2016, 5.6.1)

    Description

      When using Inspect or Visual UIA Verify (C:\Program Files (x86)\Windows Kits\10\bin\x64\UIAVerify\VisualUIAVerifyNative.exe) I get the window and title bar bound rects correctly, but everything inside the window is being reported in virtual pixels not corrected by the screen's devicePixelRatio

      Attached is a code to reproduce. It contains two panels each with two buttons.

      Attachments

        1. button.png
          button.png
          397 kB
        2. pane.png
          pane.png
          473 kB
        3. qtbug52943.zip
          2 kB
        4. TestAccessibleHighDPI.zip
          2 kB
        5. window.png
          window.png
          535 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              hernan.c.martinez Hernan da Cunha Martinez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: