@@ -2779,5 +2779,27 @@ Rectangle {
2780 tryCompareFunction(function() { return drawer.visible; }, false);
2780 tryCompareFunction(function() { return drawer.visible; }, false);
2783+ function test_launcherWindowResizeInteraction()
2785+ loadShell("desktop");
2786+ waitForRendering(shell)
2787+ shell.usageScenario = "desktop"
2788+ waitForRendering(shell)
2789+ swipeAwayGreeter();
2791+ var app1SurfaceId = topLevelSurfaceList.nextId;
2792+ var app1 = ApplicationManager.startApplication("dialer-app")
2793+ waitUntilAppWindowIsFullyLoaded(app1SurfaceId);
2795+ var launcherDelegate1 = findChild(shell, "launcherDelegate1");
2796+ mouseClick(launcherDelegate1, launcherDelegate1.width / 2, launcherDelegate1.height / 2, Qt.RightButton);
2798+ var appDelegate = findChild(shell, "appDelegate_" + app1SurfaceId);
2799+ mouseMove(shell, appDelegate.mapToItem(shell, 0, 0).x, launcherDelegate1.mapToItem(shell, 0, 0).y);
2801+ expectFail("", "Cursor should not change while launcher menu is open");
2802+ tryCompare(Mir, "cursorName", "left_side");