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

Keyboard isn't rendered until it is `active`

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.3, 6.8.0
    • Virtual Keyboard
    • None
    • Linux/X11

    Description

      When using the "Application" integration method, it is possible to control the InputPanel visibility independently of the value of the active property.

      When the InputPanel is visible, but not active (keyboard focus is not in a text input Item), if the user changes the keyboard layout it can happen that the new layout isn't rendered, leaving an empty area (no keys are visible) until the InputPanel is made active again (i.e. the user click in a text input field).

      It happens, in particular when switching to the zh_TW layout.

      The underlying issue seems to be that the input method isn't updated until the keyboard is active. In Keyboard.qml, in the updateInputMethod() function the check

      if (!InputContext.priv.focus)
                  return
      

      seems to prevent the update when the keyboard is visible but not active.

      Attachments

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

        Activity

          People

            jakoivik Jarkko Koivikko
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes