Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.3, 6.8.0
-
None
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.