@@ -48,6 +48,17 @@ Item {
48 surface.anchors.topMargin = maximizedAppTopMargin;
48 surface.anchors.topMargin = maximizedAppTopMargin;
52+ function revealSurface() {
53+ surface.visible = true;
54+ splashLoader.source = "";
58+ Timer { //FIXME - need to delay removing splash screen to allow surface resize to complete
59+ id: surfaceRevealDelay
61+ onTriggered: priv.revealSurface()
@@ -74,9 +85,8 @@ Item {
75 name: "hasSurface"
86 name: "hasSurface"
76 when: priv.appHasCreatedASurface && (root.surface !== null)
87 when: priv.appHasCreatedASurface && (root.surface !== null)
77− PropertyChanges { target: root.surface; parent: root; anchors.fill: parent; z: 1 }
88+ PropertyChanges { target: root.surface; parent: root; anchors.fill: parent; z: 1; visible: false }
78− StateChangeScript { script: priv.checkFullscreen(root.surface); }
89+ StateChangeScript { script: { priv.checkFullscreen(root.surface); surfaceRevealDelay.start(); } }
79− PropertyChanges { target: splashLoader; source: "" }
82 name: "surfaceLostButAppStillAlive"
92 name: "surfaceLostButAppStillAlive"