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

Crash with VoiceOver and popping StackView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.9.2
    • None
    • macOS

      There is a crash in the macOS a11y layer if a StackView is popped and the a11y focus is still on an Item from the previous Stack Item.

      Please see the attached MWE and Screencast.

      The crash occurs if the embedded hyperlink is focussed with the VoiceOver "move-into" command (Ctrl + Alt + Shift + Down Arrow) on the Text. Pressing the "pop()" Button via mouse will result in the crash below:

      1 QMetaObject::cast(QObject const *) const           qmetaobject.cpp               409 0x10897cb88 
      2 QMetaObject::cast(QObject *) const                 qobjectdefs.h                 241 0x101a37ba4 
      3 QQuickText * qobject_cast<QQuickText *>(QObject *) qobject.h                     428 0x1020ac874 
      4 QAccessibleHyperlink::textItem() const             qaccessiblequickitem.cpp      81  0x1020b1d50 
      5 QAccessibleHyperlink::isValid() const              qaccessiblequickitem.cpp      98  0x1020b1d20 
      6 -[QMacAccessibilityElement qtInterface]            qcocoaaccessibilityelement.mm 371 0x100fbca50 
      7 -[QMacAccessibilityElement accessibilityRole]      qcocoaaccessibilityelement.mm 435 0x100fbceec
      

      This situation is somewhat far-fetched as a combination of VoiceOver and Mouse input is used but actually occured when testing our application for a11y compliance.

      Note: The QML Text has the Accessible.Button role to be able to open the external link via Ctrl + Alt + Space VoiceOver invoke.

      I'm suspecting this is related to QTBUG-138150 as the a11y focus is still "dangling" on the previous Stack Item.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            janmoeller Jan Möller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes