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

Android: inputMethodHints not working on some devices

    XMLWordPrintable

    Details

    • Platform/s:
      Android

      Description

      Sometimes inputMethodHints do not work at all, or at least that is how it looks like. Setting imhNoPredictiveText for example does not disable predictive text input. It is especially a problem when input mask it used. For example in this case:

      TextField {
          inputMask: ">AAAAA-AAAAA;#"
          activeFocusOnPress: true
          inputMethodHints: Qt.ImhNoPredictiveText
      }
      

      When typed to the text field, the text is underlined which is why I am guessing it is the inputMehtodHints not working. Predictive text still seems enabled despite the setting and as the result, the mask as a text remains in the field while something else is typed there.

      This occurs on some Android 10 and 11 devices (OnePlus 7, Galaxy Tab S4) and also it has been reportedly reproduced in Android 11 AVD, although I cannot reproduce there myself.

        Attachments

        1. 21-06-09-14-40-53.mp4
          8.55 MB
        2. 21-06-11-09-37-50.mp4
          9.03 MB
        3. qtbug94516.zip
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtandroidteam Qt Android Team
            Reporter:
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes