@@ -707,6 +707,7 @@ FocusScope {
707707 readonly property string appName: model.application ? model.application.name : ""
708708 property bool visuallyMaximized: false
709709 property bool visuallyMinimized: false
710+ readonly property alias windowedTransitionRunning: windowedTransition.running
710711
711712 property int stage: ApplicationInfoInterface.MainStage
712713 function saveStage(newStage) {
@@ -1155,7 +1156,7 @@ FocusScope {
11551156 }
11561157 },
11571158 State {
1158− name: "maximized"; when: appDelegate.windowState == WindowStateStorage.WindowStateMaximized
1159+ name: "maximized"; when: appDelegate.maximized && !appDelegate.minimized
11591160 PropertyChanges {
11601161 target: appDelegate;
11611162 requestedX: root.leftMargin;
@@ -1372,6 +1373,7 @@ FocusScope {
13721373 }
13731374 },
13741375 Transition {
1376+ id: windowedTransition
13751377 to: "normal,maximized,maximizedLeft,maximizedRight,maximizedTop,maximizedBottom,maximizedTopLeft,maximizedTopRight,maximizedBottomLeft,maximizedBottomRight,maximizedHorizontally,maximizedVertically,fullscreen"
13761378 enabled: appDelegate.animationsEnabled
13771379 SequentialAnimation {