C:\work\qtdeclarative_dev\tests\manual\scenegraph_lancelot\data\shaders\propertyanimation>qmlformat -V -f uniformanimator_stall.qml 0 comment(s) attached. 3 comments are orphans. Sorting imports Dumping uniformanimator_stall.qml :16 : Unexpected token `}' :22 : Expected token `,' Failed to parse formatted code. An error has occurred. The output may not be reliable. // This test is a rotating rectangle with a uniform animator changing its color. // There is a timer interrupting the rotation, but the uniform animator will still // run. This is repeated a few times and then all animation is stopped. import QtQuick 2.12 Item { function stall(milliseconds) { var startTime = new Date().getTime(); while ((new Date().getTime()) - startTime < milliseconds) // This test is a rotating rectangle with a uniform animator changing its color. // There is a timer interrupting the rotation, but the uniform animator will still // run. This is repeated a few times and then all animation is stopped. } width: 320 height: 320 visible: true ShaderEffect { id: shader property real colorProperty: 0 x: 60 y: 60 width: 200 height: 200 fragmentShader: "qrc:shaders/property.frag" UniformAnimator { id: animator target: shader uniform: "colorProperty" duration: 950 from: 0 to: 1 loops: 10 running: true } NumberAnimation on rotation { from: 0 to: 360 duration: 2500 loops: 1 } } Timer { property int num_repeats: 0 interval: 600 running: true repeat: true onTriggered: { if (num_repeats < 3) { stall(550); } else { animator.running = false; repeat = false; } num_repeats += 1; } } }