on xenial help sign in
minimized+focused window fixes
14c72a1Lukáš Tinkl
qml/Stage/Stage.qml+3−4
@@ -100,7 +100,9 @@ FocusScope {
100 } else {
100 } else {
101 // No we didn't, do a quick alt-tab
101 // No we didn't, do a quick alt-tab
102 if (appRepeater.count > 1) {
102 if (appRepeater.count > 1) {
103− appRepeater.itemAt(1).claimFocus();
103+ appRepeater.itemAt(1).activate();
104+ } else if (appRepeater.count > 0) {
105+ appRepeater.itemAt(0).activate(); // quick alt-tab to the only (minimized) window should still activate it
104 }
106 }
105 }
107 }
106 }
108 }
@@ -871,9 +873,6 @@ FocusScope {
871 }
873 }
872 priv.updateMainAndSideStageIndexes();
874 priv.updateMainAndSideStageIndexes();
873 }
875 }
874− if (root.mode == "windowed") {
875− appDelegate.restore(true /* animated */, appDelegate.windowState);
876− }
877 appDelegate.focus = true;
876 appDelegate.focus = true;
878 }
877 }
879
878