on xenial help sign in
Stopped+splash -> spinner not active
7192150Albert Astals Cid
qml/Stages/ApplicationWindow.qml+1
@@ -103,6 +103,7 @@ FocusScope {
103
103
104 Loader {
104 Loader {
105 id: splashLoader
105 id: splashLoader
106+ objectName: "splashLoader"
106 visible: active
107 visible: active
107 active: false
108 active: false
108 anchors.fill: parent
109 anchors.fill: parent
tests/qmltests/Stages/tst_ApplicationWindow.qml+7
@@ -420,5 +420,12 @@ Rectangle {
420 applicationWindowLoader.item.interactive = true;
420 applicationWindowLoader.item.interactive = true;
421 compare(fakeSession.surface.activeFocus, true);
421 compare(fakeSession.surface.activeFocus, true);
422 }
422 }
423+
424+ function test_no_spinner_if_stopped() {
425+ setApplicationState(appStopped);
426+ tryCompare(stateGroup, "state", "splashScreen");
427+ var splashLoader = findChild(applicationWindowLoader.item, "splashLoader");
428+ verify(!splashLoader.item.activeSpinner);
429+ }
423 }
430 }
424}
431}