Add an indicator when the screeshot indicates starting up too
commitb63fa92d368cec3b75a5d996f1dfc226ee026983
authorAlbert Astals Cid <albert.astals@canonical.com>
dateFri 24 Apr 2015, 15:56 (12 years ago)
parent3934334
qml/Stages/ApplicationWindow.qml+8
@@ -88,6 +88,14 @@ FocusScope {
8888 // Save memory by using a half-resolution (thus quarter size) screenshot
8989 sourceSize.width: root.width / 2
9090 sourceSize.height: root.height / 2
91+
92+ ActivityIndicator {
93+ id: activityIndicator
94+ anchors.centerIn: parent
95+ visible: running
96+ running: stateGroup.state == "screenshot" &&
97+ (d.applicationState === ApplicationInfoInterface.Starting || d.applicationState === ApplicationInfoInterface.Running)
98+ }
9199 }
92100
93101 SessionGrabber {