@@ -27,7 +27,7 @@ Showable {
27 // changing values. Having it cached as a proper Qml bool property prevents
27 // changing values. Having it cached as a proper Qml bool property prevents
28 // unnecessary 'changed' emissions and provides consuming classes the
28 // unnecessary 'changed' emissions and provides consuming classes the
29 // expected behavior of no emission on startup.
29 // expected behavior of no emission on startup.
30− readonly property bool active: loader.active
30+ readonly property bool active: System.wizardEnabled
32 hideAnimation: StandardAnimation { property: "opacity"; to: 0 }
32 hideAnimation: StandardAnimation { property: "opacity"; to: 0 }
@@ -37,11 +37,20 @@ Showable {
40+ // FIXME: we make active state a one way road, because we're seeing freezes
41+ // in unity8 after wizard shuts down, seemingly due to oxide? So for now,
42+ // as a hotfix, just don't shut the wizard memory down.
43+ // Also see 75-report-check.qml, where we avoid unloading the wizard at all
44+ // for similar mitigation reasons while we root-cause the problem.
45+ onActiveChanged: if (active) loader.active = true
46+ Component.onCompleted: if (active) loader.active = true
41 id: loader
49 id: loader
42 anchors.fill: parent
50 anchors.fill: parent
43− active: System.wizardEnabled
51+ active: false
44 source: "Pages.qml"
52 source: "Pages.qml"
53+ visible: root.visible && root.active
46 Connections {
55 Connections {
47 target: loader.item
56 target: loader.item