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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. phone_653_window.jpg
          phone_653_window.jpg
          53 kB
        2. phone_672_fullscreen.jpg
          phone_672_fullscreen.jpg
          68 kB
        3. tablet_653_fullscreen.png
          tablet_653_fullscreen.png
          52 kB
        4. tablet_653_window.png
          tablet_653_window.png
          3.11 MB
        5. tablet_672_fullscreen.png
          tablet_672_fullscreen.png
          53 kB
        6. tablet_672_window.png
          tablet_672_window.png
          1.55 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes