@@ -1542,17 +1542,21 @@ FocusScope {
1544 transitions: [
1544 transitions: [
1546+ // These two animate applications into position from Staged to Desktop and back
1545 Transition {
1547 Transition {
1546 from: "staged,stagedWithSideStage"
1548 from: "staged,stagedWithSideStage"
1549+ to: "normal,restored,maximized,maximizedHorizontally,maximizedVertically,maximizedLeft,maximizedRight,maximizedTopLeft,maximizedBottomLeft,maximizedTopRight,maximizedBottomRight"
1547 enabled: appDelegate.animationsEnabled
1550 enabled: appDelegate.animationsEnabled
1548 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
1551 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
1549 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedX,requestedY,opacity,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
1552 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedX,requestedY,opacity,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
1551 Transition {
1554 Transition {
1552− from: "normal,restored,maximized,maximizedHorizontally,maximizedVertically,maximizedLeft,maximizedRight,maximizedTopLeft,maximizedBottomLeft,maximizedTopRight,maximizedBottomRight";
1555+ from: "normal,restored,maximized,maximizedHorizontally,maximizedVertically,maximizedLeft,maximizedRight,maximizedTopLeft,maximizedBottomLeft,maximizedTopRight,maximizedBottomRight"
1553 to: "staged,stagedWithSideStage"
1556 to: "staged,stagedWithSideStage"
1554 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedX,requestedY,requestedWidth,requestedHeight"; duration: priv.animationDuration}
1557 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedX,requestedY,requestedWidth,requestedHeight"; duration: priv.animationDuration}
1556 Transition {
1560 Transition {
1557 to: "spread"
1561 to: "spread"
1558 // DecoratedWindow wants the scaleToPreviewSize set before enabling scaleToPreview
1562 // DecoratedWindow wants the scaleToPreviewSize set before enabling scaleToPreview