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

Windows QPA plugin ignores the setting in InputMethodHints

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • 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)

    Description

      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"

      Attachments

        1. 0001-WIP-Query-input-method-hints-in-Windows-QPA-plugin.patch
          2 kB
          Friedemann Kleint
        2. qtbug40691.qml
          0.8 kB
          Friedemann Kleint
        3. Win-QPA-input-context-enable-fix.patch
          3 kB
          Casey Yelland

        Issue Links

          For Gerrit Dashboard: QTBUG-40691
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: