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

QLineEdit, password masking on Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.1.0
    • None
    • Qt 5.1.0, Apple's clang, OS X 10.7.5
    • macOS

    Description

      With 5.1.0, passwords are no longer completely masked on Macs. The last character typed in remains visible.

      From looking at the source code, the behaviour is intentional and governed by QStyleHints::passwordMaskDelay(), which for some reason returns 8226 on this Mac. And indeed, it takes 8 seconds for the password to be fully masked.

      I never noticed a mask delay on Desktops before, be it with Qt Applications (using Qt 5.0 or lower) or with other Mac applications. There should not be a mask delay in a desktop app.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              maxlor Benjamin Lutz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes