On-screen keyboard (OSK) does not work when opening new tabs with Ctrl + Shift + T on Wayland
Version string: KGX 44.4 using VTE 0.72.0 +BIDI +GNUTLS +ICU +SYSTEMD
To reproduce
Run on Kubuntu 23 for the easiest setup.
apt install gnome-console maliit-keyboard
- Run
KWIN_IM_SHOW_ALWAYS=1 kwin_wayland --width 640 --height 480 --inputmethod /usr/bin/maliit-keyboard konsole
- From the new konsole instance, run
kgx
- Note that the maliit virtual keyboard shows up
- On your keyboard, do Ctrl + Shift + T. Note that a new tab opens in kgx, but the OSK disappears
What's happening?
After digging a little bit, I found the following:
-
zwp_text_input_v3::enable
is called when we enter the first tab. - When a new tab is opened via
Ctrl + Shift + T
, we sendzwp_text_input_v3::disable
, which closes the OSK. - However,
zwp_text_input_v3::enable
is not called again when the new tab opens, so the OSK never opens
Edited by Matthew Kosarek