Skip to content

text-input: Elevate OSK when text input gets enabled

Guido Günther requested to merge guidog/phoc:osk-reveal into main

When text input gets enabled on a layer surface we possibly need to elevate the OSK. This didn't matter until recently when we rearranged the layers on every frame as arrange_layers raises the OSK as well.

Fixes: a6b3511f

The bug can easily be seen by:

  • launching chromium (which doesn't use text input)
  • swiping up to open the overview
  • touch into the search field

The OSK should appear. Without this patch it doesn't, with this patch it should come up. I'd appreciate feedback/testing (e.g. looking out if the OSK now shows up somewhere where it should be). I'm testing with phosh-osk-stub mostly so testing with squeekboard would also be welcome.

Edited by Guido Günther

Merge request reports