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

QWaylandClient - setInputMethodHints() doesn't work with QtTextInputMethodManager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.12.11
    • QPA: Wayland
    • None
    • Snapdragon 820A development board running Linux and Wayland

    Description

      We make use of an Qt ivi wayland compositor and Qt 5.12.11.
      and integrated the patch of QTBUG-85554 and https://codereview.qt-project.org/c/qt/qtwayland/+/311730.

      The issues are reproducable on both

      • Snapdragon 820A development board running Linux and Wayland 1.9
      • Ubuntu 20 and Wayland 1.16

      Observed issue:

      • When the WaylandClient sets a inputMethodHint. It is not considered by the Compositor/Keyboard. e.g.
        setInputMethodHints(Qt::ImhDialableCharactersOnly)
        

      When using the inputMethod: TextInputManager it is working fine. When using QtTextInputMethodManager the request is ignored.

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              jvandehaar Joost van de Haar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes