on xenial help sign in
fix focusing after spread in windowed mode
13675a7Michael Zanetti
qml/Stage/Stage.qml+3−2
@@ -900,7 +900,7 @@ FocusScope {
900 rightEdgeFocusAnimation.targetX = appDelegate.stage == ApplicationInfoInterface.SideStage ? sideStage.x : 0
900 rightEdgeFocusAnimation.targetX = appDelegate.stage == ApplicationInfoInterface.SideStage ? sideStage.x : 0
901 rightEdgeFocusAnimation.start()
901 rightEdgeFocusAnimation.start()
902 }
902 }
903− } else if (state == "windowedRightEdge" || root.mode == "windowed") {
903+ } else if (state == "windowedRightEdge") {
904 claimFocus();
904 claimFocus();
905 } else {
905 } else {
906 focusAnimation.start()
906 focusAnimation.start()
@@ -942,7 +942,7 @@ FocusScope {
942 topLevelSurfaceList.raiseId(model.id);
942 topLevelSurfaceList.raiseId(model.id);
943 }
943 }
944 onStopped: {
944 onStopped: {
945− appDelegate.focus = true
945+ appDelegate.claimFocus();
946 }
946 }
947 }
947 }
948 ParallelAnimation {
948 ParallelAnimation {
@@ -1370,6 +1370,7 @@ FocusScope {
1370 }
1370 }
1371 },
1371 },
1372 Transition {
1372 Transition {
1373+ from: "normal,maximized,maximizedLeft,maximizedRight,maximizedTop,maximizedBottom,maximizedTopLeft,maximizedTopRight,maximizedBottomLeft,maximizedBottomRight,maximizedHorizontally,maximizedVertically,fullscreen"
1373 to: "normal,maximized,maximizedLeft,maximizedRight,maximizedTop,maximizedBottom,maximizedTopLeft,maximizedTopRight,maximizedBottomLeft,maximizedBottomRight,maximizedHorizontally,maximizedVertically,fullscreen"
1374 to: "normal,maximized,maximizedLeft,maximizedRight,maximizedTop,maximizedBottom,maximizedTopLeft,maximizedTopRight,maximizedBottomLeft,maximizedBottomRight,maximizedHorizontally,maximizedVertically,fullscreen"
1374 enabled: appDelegate.animationsEnabled
1375 enabled: appDelegate.animationsEnabled
1375 SequentialAnimation {
1376 SequentialAnimation {