@@ -1846,37 +1846,6 @@ Rectangle {
1846 compare(appDelegate.y >= PanelState.panelHeight, true);
1846 compare(appDelegate.y >= PanelState.panelHeight, true);
1849− function test_cantMoveWindowUnderPanel() {
1850− loadDesktopShellWithApps();
1851− var appRepeater = findChild(shell, "appRepeater")
1852− var appDelegate = appRepeater.itemAt(0);
1854− mousePress(appDelegate, appDelegate.width / 2, units.gu(1))
1855− mouseMove(appDelegate, appDelegate.width / 2, -units.gu(100))
1857− compare(appDelegate.y >= PanelState.panelHeight, true);
1860− function test_restoreWindowStateFixesIfUnderPanel() {
1861− loadDesktopShellWithApps();
1862− var appRepeater = findChild(shell, "appRepeater")
1863− var appId = ApplicationManager.get(0).appId;
1864− var appDelegate = appRepeater.itemAt(0);
1866− // Move it under the panel programmatically (might happen later with an alt+drag)
1867− appDelegate.y = -units.gu(10)
1869− ApplicationManager.stopApplication(appId)
1870− ApplicationManager.startApplication(appId)
1871− waitForRendering(shell)
1873− // Make sure the newly started one is at index 0 again
1874− tryCompare(ApplicationManager.get(0), "appId", appId);
1876− appDelegate = appRepeater.itemAt(0);
1877− compare(appDelegate.y >= PanelState.panelHeight, true);
1880 function test_lifecyclePolicyForNonTouchApp_data() {
1849 function test_lifecyclePolicyForNonTouchApp_data() {
1881 return [
1850 return [
1882 {tag: "phone", formFactor: "phone", usageScenario: "phone"},
1851 {tag: "phone", formFactor: "phone", usageScenario: "phone"},