Sprite Production Field Notes

sprite sheet maker

Test Stop and Finish as separate actions in a sprite preview

An interrupted sprite preview needs to remove its overlay. A completed run may also save a thumbnail or mark the clip as reviewed. In Qt 6.8.3, stopping a running animation changes its state but does not emit the natural-completion signal. Using the same completion callback to release resources and record success misses one of those cases.

Create a small preview session with an ID and a single operation that releases its overlay, detaches its input capture, and restores ordinary controls. Call it on Stop and on completion. Make it safe to call again, so a late event cannot release resources owned by the next preview. Capture completion-only work under the session that started the animation and only log success when the animation finishes normally.

Replay three cases with a clip whose full duration is easy to identify. Stop halfway, let it complete, then stop one session and immediately start another. The three runs should leave no duplicate overlays. Only the complete run should add a reviewed result, and events from the first interrupted session should leave the replacement alone. technical guide and test fixture shows the Qt event traces you can compare against while setting up the exercise.

Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.