STEPS TO REPRODUCE 1. Start Krita on Windows 2. Create a document with animation and **sound track** (from an mp3 file) 3. Set the time cursor to **any** position on the timeline 4. Press Play button OBSERVED RESULT The playback hiccups a little bit and then continues as normal. It looks as if the first three frames of the range are played twice: audio plays twice and the timeline cursor jumps accordingly. EXPECTED RESULT The playback starts normally without playing anything twice ADDITIONAL INFORMATION I cannot reproduce this bug on Linux. It happens only on Windows.
I have tested in this branch, but it seems like the MR change should not be related: https://invent.kde.org/graphics/krita/-/merge_requests/1843
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1852
Git commit e6874bd1269428a2af742a4850b30a92396934a5 by Dmitry Kazakov. Committed on 13/07/2023 at 07:08. Pushed by emmetoneill into branch 'master'. Fix glitches at the start of the animation with audio The problem happened that StopAndResume object explicitly requested frame change in parallel to the normal pull-producer. That caused the first frames to played (and showed) twice. M +0 -16 libs/ui/KisPlaybackEngineMLT.cpp https://invent.kde.org/graphics/krita/-/commit/e6874bd1269428a2af742a4850b30a92396934a5
Git commit b3bf9685dc1d7edf471d67703a243f4738d5975e by Emmet O'Neill, on behalf of Dmitry Kazakov. Committed on 25/07/2023 at 05:44. Pushed by emmetoneill into branch 'master'. Properly intialize KisFrameDisplayProxy to avoid hiccups on the first playback start Related: bug 472193 M +2 -0 libs/ui/animation/KisFrameDisplayProxy.cpp https://invent.kde.org/graphics/krita/-/commit/b3bf9685dc1d7edf471d67703a243f4738d5975e