on xenial help sign in
check for the surface to be shown
commit08dda84d6ec886ae2eb8923a5c08461ec1c2638a authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 23 Jun 2016, 15:24 (10 years ago) parente0fe26c
1 file changed+4−1
qml/Stages/DesktopStage.qml+4−1
qml/Stages/DesktopStage.qml+4−1
@@ -274,7 +274,10 @@ AbstractStage {
274274 value: appDelegate.requestedY -
275275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
276276 Math.max(0, UbuntuKeyboardInfo.height - (appContainer.height - (appDelegate.requestedY + appDelegate.height))))
277− when: appDelegate.focus && UbuntuKeyboardInfo.height > 0
277+ when: appDelegate.focus
278+ && SurfaceManager.inputMethodSurface.state != Mir.HiddenState
279+ && SurfaceManager.inputMethodSurface.state != Mir.MinimizedState
280+
278281 }
279282
280283 width: decoratedWindow.width