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

commit494639e84af3db2cedb5f7e55cc02e1768843438 authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 20 Mar 2017, 17:43 (10 years ago) parentb60611e
1 file changed+1
qml/Stage/Stage.qml+1
qml/Stage/Stage.qml+1
@@ -1377,6 +1377,7 @@ FocusScope {
13771377 when: appDelegate.windowState == WindowStateStorage.WindowStateRestored
13781378 extend: "normal"
13791379 PropertyChanges {
1380+ restoreEntryValues: false
13801381 target: appDelegate;
13811382 windowedX: restoredX;
13821383 windowedY: restoredY;