@@ -1542,17 +1542,21 @@ FocusScope {
15421542 }
15431543 ]
15441544 transitions: [
1545+
1546+ // These two animate applications into position from Staged to Desktop and back
15451547 Transition {
15461548 from: "staged,stagedWithSideStage"
1549+ to: "normal,restored,maximized,maximizedHorizontally,maximizedVertically,maximizedLeft,maximizedRight,maximizedTopLeft,maximizedBottomLeft,maximizedTopRight,maximizedBottomRight"
15471550 enabled: appDelegate.animationsEnabled
15481551 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
15491552 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedX,requestedY,opacity,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
15501553 },
15511554 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"
15531556 to: "staged,stagedWithSideStage"
15541557 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedX,requestedY,requestedWidth,requestedHeight"; duration: priv.animationDuration}
15551558 },
1559+
15561560 Transition {
15571561 to: "spread"
15581562 // DecoratedWindow wants the scaleToPreviewSize set before enabling scaleToPreview