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

[Android] TextField password becomes visible

    XMLWordPrintable

    Details

    • Platform/s:
      Android

      Description

      On Android 10 on Google Pixel 4 Phone the TextField used as password field, is only partially masked.
      Entering abc and space changes them to 4 dots, but then adding 123 makes it again visible as plaintext
      Setting QT_ANDROID_ENABLE_WORKAROUND_TO_DISABLE_PREDICTIVE_TEXT does not cause any change in behaviour.

      import QtQuick 2.12 
      import QtQuick.Window 2.12 
      import QtQuick.Controls 2.12 
      
      Window { 
      visible: true 
      width: 640 
      height: 480 
      
      TextField { 
      echoMode: TextInput.Password 
      inputMethodHints: Qt.ImhSensitiveData | Qt.ImhEmailCharactersOnly | 
      Qt.ImhNoAutoUppercase | Qt.ImhNoPredictiveText 
      } 
      } 
      

        Attachments

        1. Galaxy9-android10.tar.xz
          1.52 MB
        2. Nexus10-android10-emulator.tar.xz
          9.43 MB
        3. pixel-4-input-suggestion-bug.png
          pixel-4-input-suggestion-bug.png
          165 kB
        4. qtbug85787.diff
          0.7 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:
            karimpinter Karim Pinter
            Votes:
            7 Vote for this issue
            Watchers:
            12 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes