@@ -185,17 +185,20 @@ Item {
185185
186186 onApplicationAdded: {
187187 priv.startingAppId = appId;
188−// var application = ApplicationManager.findApplication(appId)
189−// print("Application added:", appId, application.state)
190−// if (application.stage == ApplicationInfoInterface.SideStage) {
188+ splashScreenTimer.start();
189+ var application = ApplicationManager.findApplication(appId)
190+ print("Application added:", appId, application.state, application.stage)
191+ if (application.stage == ApplicationInfoInterface.SideStage) {
191192// priv.sideStageAppId = appId;
192−// mainStageImage.switchTo(application)
193−// mainStageImage.visible = true;
194−// } else if (application.stage == ApplicationInfoInterface.MainStage) {
195−// priv.mainStageAppId = appId;
196193// sideStageImage.switchTo(application)
197194// sideStageImage.visible = true;
198−// }
195+ sideStageSplash.visible = true;
196+ } else if (application.stage == ApplicationInfoInterface.MainStage) {
197+// priv.mainStageAppId = appId;
198+// mainStageImage.switchTo(application)
199+// mainStageImage.visible = true;
200+ mainStageSplash.visible = true;
201+ }
199202 }
200203
201204 onFocusRequested: {
@@ -250,6 +253,16 @@ Item {
250253
251254 }
252255
256+ Timer {
257+ id: splashScreenTimer
258+ interval: 1500
259+ repeat: false
260+ onTriggered: {
261+ mainStageSplash.visible = false;
262+ sideStageSplash.visible = false;
263+ }
264+ }
265+
253266 SwitchingApplicationImage {
254267 id: mainStageImage
255268// height: parent.height
@@ -264,6 +277,13 @@ Item {
264277// Rectangle { anchors.fill: parent; color: "red"; opacity: 0.5 }
265278 }
266279
280+ Rectangle {
281+ id: mainStageSplash
282+ anchors.fill: root
283+ anchors.rightMargin: root.width - sideStageImage.x
284+ color: "white"
285+ }
286+
267287 SidestageHandle {
268288 id: sideStageHandle
269289 anchors { top: parent.top; right: sideStageImage.left; bottom: parent.bottom }
@@ -321,15 +341,14 @@ Item {
321341// Rectangle { anchors.fill: parent; color: "purple"; opacity: .5 }
322342 }
323343
324−
325344 SwitchingApplicationImage {
326345 id: sideStageImage
327346 width: priv.sideStageWidth
328347 height: root.height
329− x: root.width - width
348+ x: root.width
330349 anchors.bottom: parent.bottom
331350 visible: true
332− property bool shown: true
351+ property bool shown: false
333352
334353// Rectangle { anchors.fill: parent; color: "green"; opacity: 0.5 }
335354
@@ -382,4 +401,11 @@ Item {
382401 }
383402 }
384403 }
404+
405+ Rectangle {
406+ id: sideStageSplash
407+ anchors.fill: parent
408+ anchors.leftMargin: sideStageImage.x
409+ color: "white"
410+ }
385411}