Loading
inputlisteneritem: Don't let Qt VKBD communicate to KWin when not visible
BUG: 516511
This is a workaround to prevent the possibility of events from Qt VirtualKeyboard's input engine to be communicated to KWin when the input panel isn't visible. During every text input session, we are still relaying events to Qt VirtualKeyboard as an input method. Qt VKBD however assumes that it's the sole owner of the text field and behaves in inexplicable ways when things change (ex. mouse text cursor selection) to implement its own text prediction.
Workaround this for now by disabling communciation with KWin from Qt VKBD when the input panel isn't shown. This means that BUG: 516511 will still exist when the virtual keyboard panel is shown.
Edited by Devin Lin