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

Crash when interacting with iOS Keyboard through VoiceOver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.8.1, 6.9.0
    • None
    • iOS/tvOS/watchOS

      While VoiceOver is enabled, an iOS app is going to crash when trying to type in a TextField.
      Please see the attached MWE.
      The issue lies in

      qtbase/src/plugins/platforms/ios/quiview_accessibility.mm :: bringIntoView
      
      There is an (unchecked) access to the 'axid':
      QAccessibleInterface* iface = QAccessible::accessibleInterface(a11yElement.axid);
      
      However the elements returned by the keyboard have no axid, because they are private and not meant to be accessed by apps.
      This causes an immediate crash.
      

        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
            timonsassor Timon Sassor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes