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

Windows QPA plugin ignores the setting in InputMethodHints

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.4.1
    • 4.8.6, 5.3.1
    • None
    • Windows XP, Windows 8.1
      Qt 5.3.1 MinGW build
      I believe other build will also cause this problem.

    • b55f88caba339a49bf0ebabfa324dde523c2b866 (qtbase/5.4, 27.11.2014, 5.4.1) c91c05b056c769c3df0d7634aed7d9bf2c0e550d (qtbase/5.4, 27.11.2014, 5.4.1)

      Currently, We have no way to turn off input method when TextInput or TextField's echoMode is set to “TextInput.Password”. Thus will undesirably uncover part of password when user types it.

      Code:
      TextField
      {
      id: passwordField
      anchors.horizontalCenter: defaultText.horizontalCenter
      anchors.top: defaultText.bottom
      echoMode: TextInput.Password
      }

      Suggestion:
      Try adding a numeration to "inputMethodHints" property, such as "Qt.ImhForbidden"

        1. 0001-WIP-Query-input-method-hints-in-Windows-QPA-plugin.patch
          2 kB
          Friedemann Kleint
        2. Win-QPA-input-context-enable-fix.patch
          3 kB
          Casey Yelland
        3. qtbug40691.qml
          0.8 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            jiangcaiyang Jiang Yimin
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: