on xenial help sign in
only enable the binding when the OSK is actually shown
e0fe26cMichael Zanetti
qml/Stages/DesktopStage.qml+1−1
@@ -274,7 +274,7 @@ 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
277+ when: appDelegate.focus && UbuntuKeyboardInfo.height > 0
278 }
278 }
279
279
280 width: decoratedWindow.width
280 width: decoratedWindow.width