In qml/Stage/Stage.qml:
""" readonly property real virtualKeyboardHeight: SurfaceManager.inputMethodSurface ? SurfaceManager.inputMethodSurface.inputBounds.height : 0 """
Please get it from outside. Let Shell wire it to inputMethod.visibleRect.height
""" when: root.oskEnabled && appDelegate.focus && (appDelegate.state == "normal" || appDelegate.state == "restored") && SurfaceManager.inputMethodSurface && SurfaceManager.inputMethodSurface.state != Mir.HiddenState && SurfaceManager.inputMethodSurface.state != Mir.MinimizedState """"
Likewise, all these SurfaceManager expressions could be supplied by inputMethod.visible from Shell.qml
« Back to merge proposal
In qml/Stage/ Stage.qml:
""" Height: SurfaceManager. inputMethodSurf ace
? SurfaceManager. inputMethodSurf ace.inputBounds .height
: 0
readonly property real virtualKeyboard
"""
Please get it from outside. Let Shell wire it to inputMethod. visibleRect. height
"""
when: root.oskEnabled && appDelegate.focus && (appDelegate.state == "normal" || appDelegate.state == "restored")
&& SurfaceManager. inputMethodSurf ace
&& SurfaceManager. inputMethodSurf ace.state != Mir.HiddenState
&& SurfaceManager. inputMethodSurf ace.state != Mir.MinimizedState
""""
Likewise, all these SurfaceManager expressions could be supplied by inputMethod.visible from Shell.qml