@@ -688,6 +688,8 @@ Item {
689 function test_oskDisplacesWindow(data) {
689 function test_oskDisplacesWindow(data) {
690 var dashAppDelegate = startApplication("unity8-dash");
690 var dashAppDelegate = startApplication("unity8-dash");
691+ var oldOSKState = SurfaceManager.inputMethodSurface.state;
692+ SurfaceManager.inputMethodSurface.state = Mir.RestoredState;
691 verify(dashAppDelegate);
693 verify(dashAppDelegate);
692 dashAppDelegate.requestedHeight = data.windowHeight;
694 dashAppDelegate.requestedHeight = data.windowHeight;
693 dashAppDelegate.requestedY = data.windowY;
695 dashAppDelegate.requestedY = data.windowY;
@@ -700,6 +702,7 @@ Item {
701 UbuntuKeyboardInfo.height = 0;
703 UbuntuKeyboardInfo.height = 0;
702 tryCompare(dashAppDelegate, "y", initialY);
704 tryCompare(dashAppDelegate, "y", initialY);
705+ SurfaceManager.inputMethodSurface.state = oldOSKState;