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

Qt WebEngine password input field does not support keys registered for shortcuts on windows

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      075050991bbdc8c165b5ccf809516e3eaa5ee859 (qt/qtwebengine/5.14)

      Description

      When entering characters into a html password input form field that is hosted in a QWebEngineView, the shortcut is triggered instead of consuming the character in the input field.

      So no passwords can be entered that contain characters that are assigned to shortcuts.

      This issue only affects password input form fields. Regular text input form fields work as expected, they consume the typed character and do not trigger the shortcut.

      The issue cannot be reproduced using Qt 5.9.9 so this seems to be a regression introduced in a later Qt version. Mac OS does not seem to be affected even with Qt 5.12.6.

      The attached test program demonstrates the issue. When entering "1" or "!" the registered shortcut is triggered instead of entering the given characters into the password input field. Entering the same characters into the username field works as expected.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              pvarga Peter Varga
              Reporter:
              midoppler Michael Doppler
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes