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

QML TextField reports incomplete text to VoiceOver

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.4
    • None
    • iOS 13 Beta 5
    • iOS/tvOS/watchOS

    Description

      The TextField component seems to always omit the last character of the contained text. When introducing additional Accessibility properties (e.g. Accessible.name and Accessible.description) the incomplete text content is still read by VoiceOver (alongside the complete text assigned to Accessible.name). So the text is echoed twice, where the second time is incomplete, the specified description is not read at all.

       

      Minimal example:

      TextField {
          Accessible.role: Accessible.StaticText
          Accessible.name: text
          Accessible.description: qsTr("Textfield containing text: ") + text
          
          text: qsTr("Some text")
          readOnly: true
      }

      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
            janmoeller Jan Möller
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes