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

QML accessibility does not take into account the Item's scale property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.13.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      macOS 10.14
      Xcode 12.2
      Qt 5.13
    • Platform/s:
      All

      Description

      QML accessibility does not take into account the Item's scale property when computing the Item's rect for the accessibility system.

      Attached is a screenshot showing the issue and a sample Qt project.

      To reproduce:

      1. Build the sample project for macOS
      2. Launch sample app
      3. Open Accessibility Inspector
      4. Target the QML button "A Button"

      You should see that the accessibility rect for the button is computed and displayed based on the unscaled Rect of the button. Where as it should be based on the scaled rect.

      I have reproduced this on iOS and macOS.

        Attachments

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

          Activity

            People

            Assignee:
            frederik Frederik Gladhorn
            Reporter:
            rupert_d Rupert Daniel
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes