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

[Regr: 6.6.3->6.7.0] Additional initial a11y element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • 6.7.0, 6.7.1, 6.7.2
    • None
    • Android
    • 46cb9027f (dev), b2706531e (6.8)

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Layouts
      
      ApplicationWindow {
      	id: appWindow
      
      	visible: true
      
      	background: Rectangle {
      		color: "lightgreen"
      	}
      
      	ColumnLayout {
      		anchors.fill: parent
      
      		Button {
      			Layout.alignment: Qt.AlignHCenter
      			text: "test 1"
      		}
      		Button {
      			Layout.alignment: Qt.AlignHCenter
      			text: "test 2"
      		}
      	}
      }
      

      With Qt 6.5.3 everything was fine. , and show the behavior on a tablet and a phone with Android. When the application was started the first button is selected by TalkBack.

      With Qt 6.7.2 something is wrong. As visible in the other screenshots there is an additional "main element" without any a11y description that is selected on application start. Using Accessible properties in ApplicationWindow does not help. On a tablet (Google Pixel) also the on screen keyboard becomes visible sometimes.

      I am still working on tests with Qt versions between 6.5.3 and 6.7.2.

      Edit: Qt 6.6.3 has the same correct behavior as Qt 6.5.3. It is wrong since 6.7.0.

        1. phone_653_window.jpg
          53 kB
          Lars Schmertmann
        2. phone_672_fullscreen.jpg
          68 kB
          Lars Schmertmann
        3. tablet_653_fullscreen.png
          52 kB
          Lars Schmertmann
        4. tablet_653_window.png
          3.11 MB
          Lars Schmertmann
        5. tablet_672_fullscreen.png
          53 kB
          Lars Schmertmann
        6. tablet_672_window.png
          1.55 MB
          Lars Schmertmann
        For Gerrit Dashboard: QTBUG-126672
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            larss Lars Schmertmann
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes