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

Can't use wide characters as password mask character

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. Bug.png
          Bug.png
          6 kB
        2. Expected.png
          Expected.png
          6 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes