on xenial help sign in
Fix unminimizing going to the wrong position the second time

This was caused by the "restored" state property changes being "restored" to the old values when going to the "minimized" state Since we're only interested in the "enter" state changes for the windowedX/Y values we set restoreEntryValues to false (LP: #1671458) Approved by: Lukáš Tinkl, Unity8 CI Bot

commit1c54161532de1eec046b572f72778ec7e0c76557 authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 28 Mar 2017, 21:43 (10 years ago) parent836df6a494639e
1 file changed+1
qml/Stage/Stage.qml+1
qml/Stage/Stage.qml+1
@@ -1391,6 +1391,7 @@ FocusScope {
13911391 when: appDelegate.windowState == WindowStateStorage.WindowStateRestored
13921392 extend: "normal"
13931393 PropertyChanges {
1394+ restoreEntryValues: false
13941395 target: appDelegate;
13951396 windowedX: restoredX;
13961397 windowedY: restoredY;