OSK on a phone: text-input-v3 version 2 and text-input-v2 gaps

Hello everyone. I am building an experimental phone shell on Mir 2.28 (MirAL, Squeekboard as the keyboard). I am facing with these problems:

  1. Keyboard opens when an app starts. GTK focuses text field at startup, and Mir activates the input method on enable. GTK 4.24 supports zwp_text_input_v3 version 2, which sends show_input_panel only on a tap on text field. Mir only offers version 1, are there any plans for version 2?
  2. Keyboard doesn’t close in Qt apps. zwp_text_input_v2.disable doesn’t deactivate the input field. TextInputV2::disable only clears the pending state. The input method is deactivated only by a later update_state, which Qt doesn’t send. I think this doesn’t match the protocol.
  3. No keyboard rectangle. Mir doesn’t send zwp_text_input_v2.input_panel_state.

I wanted to confirm here before opening Github issues for these. Please let me know or move to other categories if this is not the correct place to ask.

Hi @turanmahmudov, thanks for the report and sorry for the delayed reply.

Please do file these as issues at Issues · canonical/mir · GitHub so we can properly handle those 1 by 1. If you can help out with fixes for those, we’d happily review, too!

1 Like