on xenial help sign in
Stopped+splash -> spinner not active
commit71921503318b9246940a8fb5e37dad57e5afab29 authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 23 Apr 2015, 13:33 (12 years ago) parentcc68b66
2 files changed+8
qml/Stages/ApplicationWindow.qml+1 tests/qmltests/Stages/tst_ApplicationWindow.qml+7
qml/Stages/ApplicationWindow.qml+1
@@ -103,6 +103,7 @@ FocusScope {
103103
104104 Loader {
105105 id: splashLoader
106+ objectName: "splashLoader"
106107 visible: active
107108 active: false
108109 anchors.fill: parent
tests/qmltests/Stages/tst_ApplicationWindow.qml+7
@@ -420,5 +420,12 @@ Rectangle {
420420 applicationWindowLoader.item.interactive = true;
421421 compare(fakeSession.surface.activeFocus, true);
422422 }
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+ }
423430 }
424431}