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

Can't use wide characters as password mask character

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • GUI: Text handling
    • None
    • Qt 5.12.0 on KDE neon

      Trying to use a wide character asĀ PasswordMaskCharacter does not work.

      case QPlatformTheme::PasswordMaskCharacter:
          return QChar(0x1F648);
      

      This affects both QtQuick Controls TextField and QWidget QLineEdit.

      Setting the passwordCharacter property on a TextInput exhibits the same behavior as doing so via themeHint.

      Using a QString which can actually hold a character this wide doesn't work either.

        1. Bug.png
          6 kB
          Kai Uwe Broulik
        2. Expected.png
          6 kB
          Kai Uwe Broulik
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            broulik Kai Uwe Broulik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes