on xenial help sign in
Add an indicator when the screeshot indicates starting up too
b63fa92Albert Astals Cid
qml/Stages/ApplicationWindow.qml+8
@@ -88,6 +88,14 @@ FocusScope {
88 // Save memory by using a half-resolution (thus quarter size) screenshot
88 // Save memory by using a half-resolution (thus quarter size) screenshot
89 sourceSize.width: root.width / 2
89 sourceSize.width: root.width / 2
90 sourceSize.height: root.height / 2
90 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+ }
91 }
99 }
92
100
93 SessionGrabber {
101 SessionGrabber {