Stop animateTimer when starting the fadeOutAnimation
Fixes test randomly failing because the previous state had not triggered yet and we're calling fadeOut
while [ true ]; do make xvfbtestShellWithPin FUNCTION="ShellWithPin::test_longLeftEdgeDrags"; if [ $? -ne 0 ]; then break; fi; done
now works fine for a much longer time than it used to.
Approved by: Michael Zanetti
commitf143d65b4a005bc131bfbfe90549c5d1ac3b5be2
authorAlbert Astals Cid <albert.astals@canonical.com>
dateTue 15 Sep 2015, 12:05 (11 years ago)
parent3dc5b34c891da3
qml/Launcher/Launcher.qml+1
@@ -136,6 +136,7 @@ Item {
136136 id: fadeOutAnimation
137137 ScriptAction {
138138 script: {
139+ animateTimer.stop(); // Don't change the state behind our back
139140 panel.layer.enabled = true
140141 }
141142 }