on xenial help sign in
further fixes to semi-maxed states, mainly horiz/vert
dc16f42Lukáš Tinkl
qml/Stage/Stage.qml+9−9
@@ -1295,7 +1295,7 @@ FocusScope {
1295 },
1295 },
1296 State {
1296 State {
1297 name: "maximizedLeft"; when: appDelegate.maximizedLeft && !appDelegate.minimized
1297 name: "maximizedLeft"; when: appDelegate.maximizedLeft && !appDelegate.minimized
1298− extend: "restored"
1298+ extend: "normal"
1299 PropertyChanges {
1299 PropertyChanges {
1300 target: appDelegate
1300 target: appDelegate
1301 windowedX: root.leftMargin
1301 windowedX: root.leftMargin
@@ -1314,7 +1314,7 @@ FocusScope {
1314 },
1314 },
1315 State {
1315 State {
1316 name: "maximizedTopLeft"; when: appDelegate.maximizedTopLeft && !appDelegate.minimized
1316 name: "maximizedTopLeft"; when: appDelegate.maximizedTopLeft && !appDelegate.minimized
1317− extend: "restored"
1317+ extend: "normal"
1318 PropertyChanges {
1318 PropertyChanges {
1319 target: appDelegate
1319 target: appDelegate
1320 windowedX: root.leftMargin
1320 windowedX: root.leftMargin
@@ -1333,7 +1333,7 @@ FocusScope {
1333 },
1333 },
1334 State {
1334 State {
1335 name: "maximizedBottomLeft"; when: appDelegate.maximizedBottomLeft && !appDelegate.minimized
1335 name: "maximizedBottomLeft"; when: appDelegate.maximizedBottomLeft && !appDelegate.minimized
1336− extend: "restored"
1336+ extend: "normal"
1337 PropertyChanges {
1337 PropertyChanges {
1338 target: appDelegate
1338 target: appDelegate
1339 windowedX: root.leftMargin
1339 windowedX: root.leftMargin
@@ -1352,15 +1352,15 @@ FocusScope {
1352 },
1352 },
1353 State {
1353 State {
1354 name: "maximizedHorizontally"; when: appDelegate.maximizedHorizontally && !appDelegate.minimized
1354 name: "maximizedHorizontally"; when: appDelegate.maximizedHorizontally && !appDelegate.minimized
1355− extend: "restored"
1355+ extend: "normal"
1356− PropertyChanges { target: appDelegate; requestedX: root.leftMargin; requestedY: windowedY;
1356+ PropertyChanges { target: appDelegate; windowedX: root.leftMargin; windowedY: windowedY;
1357− requestedWidth: appContainer.width - root.leftMargin; requestedHeight: appDelegate.windowedHeight }
1357+ windowedWidth: appContainer.width - root.leftMargin; windowedHeight: windowedHeight }
1358 },
1358 },
1359 State {
1359 State {
1360 name: "maximizedVertically"; when: appDelegate.maximizedVertically && !appDelegate.minimized
1360 name: "maximizedVertically"; when: appDelegate.maximizedVertically && !appDelegate.minimized
1361− extend: "restored"
1361+ extend: "normal"
1362− PropertyChanges { target: appDelegate; requestedX: windowedX; requestedY: PanelState.panelHeight;
1362+ PropertyChanges { target: appDelegate; windowedX: windowedX; windowedY: PanelState.panelHeight;
1363− requestedWidth: appDelegate.windowedWidth; requestedHeight: appContainer.height - PanelState.panelHeight }
1363+ windowedWidth: windowedWidth; windowedHeight: appContainer.height - PanelState.panelHeight }
1364 },
1364 },
1365 State {
1365 State {
1366 name: "minimized"; when: appDelegate.minimized
1366 name: "minimized"; when: appDelegate.minimized