on xenial help sign in
check for the surface to be shown
08dda84Michael Zanetti
qml/Stages/DesktopStage.qml+4−1
@@ -274,7 +274,10 @@ AbstractStage {
274 value: appDelegate.requestedY -
274 value: appDelegate.requestedY -
275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
276 Math.max(0, UbuntuKeyboardInfo.height - (appContainer.height - (appDelegate.requestedY + appDelegate.height))))
276 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+
278 }
281 }
279
282
280 width: decoratedWindow.width
283 width: decoratedWindow.width