on xenial help sign in
fix OSK rect not always going away when it should
6e6c5ceMichael Zanetti
qml/Components/InputMethod.qml+1−1
@@ -21,7 +21,7 @@ import Ubuntu.Gestures 0.1
21Item {
21Item {
22 id: root
22 id: root
23
23
24− readonly property rect visibleRect: surfaceItem.surface ? surfaceItem.surface.inputBounds : Qt.rect(0, 0, 0, 0)
24+ readonly property rect visibleRect: surfaceItem.surface && visible ? surfaceItem.surface.inputBounds : Qt.rect(0, 0, 0, 0)
25
25
26 MirSurfaceItem {
26 MirSurfaceItem {
27 id: surfaceItem
27 id: surfaceItem