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

Crash when interacting with iOS Keyboard through VoiceOver

    XMLWordPrintable

Details

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

    Description

      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.
      

      Attachments

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes