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

setEchoMode has undesirable casing side-effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.8.0
    • None
    • debian bookworm, KDE/plasma
    • Linux/X11

    Description

      On a QLineEdit, if you .setEchoMode (QLineEdit.EchoMode.Password), unfortunately the widget <sarcasm>helpfully</sarcasm> lowercases all the entered text.

      MANY PASSWORDS ARE NOT LOWER BUT MIXED CASE! This is for a token generated by github, so I can't request they use all lower case.

      I also tried .setInputMethodHints (Qt.InputMethodHint.ImhNone) after the setEchoMode, and it appears to have no effect -any uppercase letters get lower-cased.

      Any idea for a temporary workaround/codefix??

       

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            steve_osfda Steve B.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes