@@ -146,8 +146,8 @@ AbstractStage {
146146
147147 property bool goneToSpread: false
148148 property int closingIndex: -1
149−// property int animationDuration: 4000
150− property int animationDuration: UbuntuAnimation.FastDuration
149+ property int animationDuration: 4000
150+// property int animationDuration: UbuntuAnimation.FastDuration
151151
152152 function updateForegroundMaximizedApp() {
153153 var found = false;
@@ -1179,11 +1179,15 @@ AbstractStage {
11791179 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
11801180 UbuntuNumberAnimation { target: appDelegate; properties: "x,y,opacity,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
11811181 },
1182+ Transition {
1183+ from: "normal,maximized,maximizedHorizontally,maximizedVertically,maximizedLeft,maximizedRight"; to: "staged,stagedWithSideStage"
1184+ UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedWidth,requestedHeight"; duration: priv.animationDuration}
1185+ },
11821186 Transition {
11831187 from: "maximized,maximizedHorizontally,maximizedVertically,maximizedLeft,maximizedRight,minimized"; to: "normal"
11841188 enabled: appDelegate.animationsEnabled
11851189 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
1186− UbuntuNumberAnimation { target: appDelegate; properties: "x,y,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
1190+ UbuntuNumberAnimation { target: appDelegate; properties: "requestedX,requestedY,requestedWidth,requestedHeight,scale"; duration: priv.animationDuration }
11871191 },
11881192 Transition {
11891193 from: "normal"; to: "maximized,maximizedHorizontally,maximizedVertically,maximizedLeft,maximizedRight"
@@ -1191,12 +1195,6 @@ AbstractStage {
11911195 PropertyAction { target: appDelegate; properties: "visuallyMinimized,visuallyMaximized" }
11921196 UbuntuNumberAnimation { target: appDelegate; properties: "requestedX,requestedY,requestedWidth,requestedHeight"; duration: priv.animationDuration }
11931197 },
1194− Transition {
1195− from: "spread"; to: "*"
1196−// UbuntuNumberAnimation { target: appDelegate; properties: "x,y,height"; duration: priv.animationDuration }
1197−// UbuntuNumberAnimation { target: decoratedWindow; properties: "width,height,itemScale,angle"; duration: priv.animationDuration }
1198−// ScriptAction { script: if (appDelegate.focus) appDelegate.playFocusAnimation() }
1199− },
12001198 Transition {
12011199 to: "minimized"
12021200 enabled: appDelegate.animationsEnabled