How to avoid application window obstruction by input panel (on-screen keyboard)?
Hi,
I am using Weston with the desktop shell on an embedded device to run a full screen application. Text input is performed using an on-screen keyboard that is based on clients/keyboard.c
and loaded via input-method
in weston.ini
.
Generally, this is working fine and the keyboard is automatically shown when the user taps inside a text field.
However, when the keyboard is shown the application window is not resized, i.e. the keyboard is obstructing the bottom part of the main application window. Therefore some input fields are obstructed and cannot be entered by the user.
Android works around this by resizing the application accordingly so that the application is aware of the reduced usable space and can display scroll bars as needed.
What would it take to implement similar behavior in Weston, i.e. reduce the height of the application window when the input panel is shown and restore the original size when it is hidden?
Would it be possible to implement this behavior by solely modifying the keyboard or do I need to change the shell?
Thanks!