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

QAccessible::isActive on Android incorrectly returns false

    XMLWordPrintable

Details

    • Android
    • b1433a6988d79c162ab5bed116be1ffeedca2ea9 (qt/qtbase/dev) 90c85b880e38a10cde7d22437c19f7ac7eea3f7d (qt/qtbase/5.12) a8d03e24852e196ef01393ec77df305f451661b2 (qt/qtbase/5.15)

    Description

      1. Set up a simple Qt Widgets Application and add a button.

      2. Create a slot in MainWindow and connect it to QPushButton::clicked

      MainWindow::MainWindow

      {      ......      ui->setupUi(this);     QPushButton* button(findChild<QPushButton*>("pushButton"));      ..... }

      3. Build, deploy and debug the application on an Android device

      3. In the slot check the return value for QAccessible::isActive()

       

      Result:

      QAccessible::isActive always returns false, whether ScreenReader is enabled on the device or not.

      Further investigation shows QPlatformAccessibility::m_active is false

      Attachments

        Issue Links

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

          Activity

            People

              vmatikainen Vikke Matikainen
              jheanley Julien Heanley
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes