Bug 476203 - Krita draws on the wrong frame after dragging the playhead
Summary: Krita draws on the wrong frame after dragging the playhead
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: 5.2.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-28 16:38 UTC by snakouwa
Modified: 2024-04-20 12:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen recording demonstrating the misbehavior (303.50 KB, video/webm)
2023-10-28 16:38 UTC, snakouwa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description snakouwa 2023-10-28 16:38:14 UTC
Created attachment 162618 [details]
Screen recording demonstrating the misbehavior

STEPS TO REPRODUCE
1. Open Krita, set up an animation layer and turn on AutoKey Blank/Duplicate,
3. Click on the time ruler and drag (the highlight should stop and stay on an empty frame during and after dragging),
4. Start drawing,
5. Click on the playhead (on the frame or on the time ruler) and/or undo and draw again.

OBSERVED RESULT
Krita will create a new keyframe on the highlighted frame and draw on that frame.
Clicking on the playhead (on the frame or on the time ruler) during the misbehavior still causes Krita to draw on the old frame.
If you undo, the highlight will jump to the keyframe before it but drawing still creates on the old frame.

Sometimes Krita will draw on a frame that's neither highlighted nor under the playhead.

EXPECTED RESULT
Krita should create/duplicate and draw on the playhead regardless which frame is being highlighted.

ADDITIONAL INFORMATION
Only dragging the playhead causes the issue, just clicking a frame (on the frame or on the time ruler) does not.
Comment 1 snakouwa 2023-10-28 16:50:02 UTC
More additional information:
The misbehavior can be temporarily fixed by moving the playhead to another frame, then back (by arrow keys or by clicking, no dragging)

This is not a severe bug but it can be very annoying during scrubbing
Comment 2 Emmet O'Neill 2024-04-19 00:35:59 UTC
Hey there. I think that this issue has been fixed!

If you can, please test again using the "Krita Next" nightly version from http://krita.org (or by building Krita's "master" branch from source.) 

If "Krita Next" works correctly, then you can expect to see the fix included with the next stable version release of Krita. However, if you're still having this issue in Krita Next or with Krita's master branch, please feel free to reopen this bug report and we can continue to investigate. 

Thank you,
Emmet.
Comment 3 snakouwa 2024-04-20 12:53:24 UTC
(In reply to Emmet O'Neill from comment #2)
> Hey there. I think that this issue has been fixed!
> 
> If you can, please test again using the "Krita Next" nightly version from
> http://krita.org (or by building Krita's "master" branch from source.) 
> 
> If "Krita Next" works correctly, then you can expect to see the fix included
> with the next stable version release of Krita. However, if you're still
> having this issue in Krita Next or with Krita's master branch, please feel
> free to reopen this bug report and we can continue to investigate. 
> 
> Thank you,
> Emmet.

Thank you! I'll check the nightly version soon