Bug 485582 - Animation plays from wrong frame after setting playhead during playback.
Summary: Animation plays from wrong frame after setting playhead during playback.
Status: RESOLVED DUPLICATE of bug 478185
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: 5.2.2
Platform: Microsoft Windows All
: NOR normal
Target Milestone: ---
Assignee: Emmet O'Neill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-15 10:37 UTC by Maarten
Modified: 2024-07-23 08:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenrecording (3.83 MB, video/mp4)
2024-04-15 10:37 UTC, Maarten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten 2024-04-15 10:37:21 UTC
Created attachment 168545 [details]
screenrecording

SUMMARY
Timeline uses wrong start frame after positioning play head.

STEPS TO REPRODUCE
Please see video in attachment
1. Play
2. Stop
3. Position playhead on a frame
4. Play

OBSERVED RESULT
See that krita does not play from the frame where the playhead is

EXPECTED RESULT
Play from selected frame.

SOFTWARE/OS VERSIONS
Windows: 11 pro
Krita: 5.2.2

ADDITIONAL INFORMATION
Please see video in attachment
Comment 1 Emmet O'Neill 2024-04-17 22:31:57 UTC
Hi Maarten, thanks for the bug report. 
I've been able to reproduce this bug on the latest master branch, so I'm confirming it.

I think this is an edge case to do with changing the play head while the animation is playing.
Because if I stop or pause the animation and *then* move the play head, it seems to work as expected.

Just as a note to my future self, here are my slightly different STEPS TO REPRODUCE:
1. Play an animation file.
2. Click the time header to change the play head position, while the animation is still playing.
(Animation playback will stop after you change the playhead.)
3. Hit play again.

I'd imagine that this shouldn't be too hard to fix, so hopefully we can get to it soon.
Comment 2 Maarten 2024-04-27 11:32:11 UTC
(In reply to Emmet O'Neill from comment #1)
> Hi Maarten, thanks for the bug report. 
> I've been able to reproduce this bug on the latest master branch, so I'm
> confirming it.
> 
> I think this is an edge case to do with changing the play head while the
> animation is playing.

Hi Emmet, Thanks for your response and great to see it's being picked up.

I don't think this is an edge case as it's not happening while the animation is playing, but also happens when the animation is not playing. Please see video.

Thanks again!
Comment 3 Dmitry Kazakov 2024-07-23 08:35:32 UTC
Hi, Maarten!

Could you please check if the latest Krita Plus still has this feature? I guess I have fixed this bug while fixing bug 478185.

https://cdn.kde.org/ci-builds/graphics/krita/krita-5.2/windows

*** This bug has been marked as a duplicate of bug 478185 ***