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

[Android] TextField password becomes visible

    XMLWordPrintable

Details

    • Android
    • 5e95fab53ffa138c1039c71097e77626483c88a8 (qt/qtbase/dev) 7e6adc11156bc911969299ef1cebf1566f0b351f (qt/qtbase/6.0) 41883b3b9ef43bc4c7b47a19b59f3ee8143db3da (qt/tqtc-qtbase/tqtc/lts-5.15)

    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

            stromme Christian
            karimpinter Karim Pinter (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes