@@ -16,6 +16,7 @@
17import QtQuick 2.4
17import QtQuick 2.4
18import Ubuntu.Components 1.3
18import Ubuntu.Components 1.3
19import ".." as LocalComponents
20import ".." as LocalComponents
21LocalComponents.Page {
22LocalComponents.Page {
@@ -62,29 +63,18 @@ LocalComponents.Page {
62 onLinkActivated: {
63 onLinkActivated: {
63 webview.url = "http://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
64 webview.url = "http://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
64 webview.visible = true;
65 webview.visible = true;
65− webview.active = true;
69− // FIXME: we use a loader, because we're seeing freezes in unity8 after
69+ WebView {
70− // wizard shuts down, seemingly due to oxide? So for now, as a hotfix,
71− // we only load the webview when necessary.
72− // Also see Wizard.qml, where we avoid unloading the wizard at all for
73− // similar mitigation reasons while we root-cause the problem.
75 id: webview
70 id: webview
71+ objectName: "webview"
76 anchors.left: parent.left
72 anchors.left: parent.left
77 anchors.right: parent.right
73 anchors.right: parent.right
78 anchors.leftMargin: -leftMargin
74 anchors.leftMargin: -leftMargin
79 anchors.rightMargin: -rightMargin
75 anchors.rightMargin: -rightMargin
80 height: parent.height
76 height: parent.height
81 visible: false
77 visible: false
84− sourceComponent: LocalComponents.DelayedWebView {
85− objectName: "webview"