Bug 483526 - Usability: Improve precision of timeline frames view drag and drop controls.
Summary: Usability: Improve precision of timeline frames view drag and drop controls.
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Animation (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Other Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 09:21 UTC by Dynline
Modified: 2024-04-18 22:19 UTC (History)
1 user (show)

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


Attachments
video (2.74 MB, video/mp4)
2024-03-14 09:21 UTC, Dynline
Details
Animation (792.69 KB, video/mp4)
2024-04-04 06:11 UTC, Dynline
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dynline 2024-03-14 09:21:32 UTC
Created attachment 167155 [details]
video

SUMMARY
***
If I click fast through the frames of animations the frames tend to be dragged (it seems) on another slot and vanish. I added a video of this in the attachments because it is hard to explain how to do it.
***


STEPS TO REPRODUCE
1. click witht he pen on random frames (or also from the first to the last) as if you are "scrolling them"

OBSERVED RESULT
Frames are deleted


SOFTWARE/OS VERSIONS
Windows 10
Version: 5.3.0-prealpha (git 1ef82c9)
Comment 1 Emmet O'Neill 2024-04-02 22:32:05 UTC
Hi. I think you're trying to animate using the layers docker, but with Krita animation is generally done using frames within each layer, which you control using the Animation Timeline Docker. For more information please check out these links:

https://docs.krita.org/en/user_manual/animation.html

https://docs.krita.org/en/reference_manual/dockers/animation_timeline.html#timeline-docker
Comment 2 Dynline 2024-04-03 06:43:56 UTC
I am using the timeline docker. have you seen the video?
Comment 3 Dynline 2024-04-03 07:07:59 UTC
(In reply to Emmet O'Neill from comment #1)
> Hi. I think you're trying to animate using the layers docker, but with Krita
> animation is generally done using frames within each layer, which you
> control using the Animation Timeline Docker. For more information please
> check out these links:
> 
> https://docs.krita.org/en/user_manual/animation.html
> 
> https://docs.krita.org/en/reference_manual/dockers/animation_timeline.
> html#timeline-docker

If you watch the video you'd see what I mean, I click through the frames in the timeline docker, it's like they are dragged onto eachother despite it being just a click on the frames. It seems the click lingers for a bit longer after the pen is raised from the screen.
Comment 4 Dynline 2024-04-03 15:41:04 UTC
I want to add some more details, maybe they are useful.

It only happens in Krita, only in the timeline docker, I didn't notice any "drag" after clicking elswewhere around the software. 
Happens with both wintab and windows ink, the drivers are the latest. 
In the video I clicked fast through the frames to make it happen quicker as a demonstration. Hoewever I reported this because it can happen with a single click in the timeline while working normally.
Comment 5 Emmet O'Neill 2024-04-04 01:56:31 UTC
I've watched the video but I'm not seeing anything animation related exactly. The first half of the video is Adobe Photoshop stuff and the second half of the video seems to be about arranging elements on the canvas in Krita. I'm guessing you've accidentally uploaded the wrong video file for this bug. :)

From your description it sounds like maybe you're getting accidental dragging and dropping behavior on the Krita timeline when you click with your tablet pen? And this is sometimes causing the frames to be lost entirely, if I understand correctly. 

I'll test around and see if I can reproduce that issue, but if you have another video then that might help too.
Comment 6 Dynline 2024-04-04 06:11:25 UTC
Created attachment 168127 [details]
Animation
Comment 7 Dynline 2024-04-04 06:22:45 UTC
(In reply to Emmet O'Neill from comment #5)
> I've watched the video but I'm not seeing anything animation related
> exactly. The first half of the video is Adobe Photoshop stuff and the second
> half of the video seems to be about arranging elements on the canvas in
> Krita. I'm guessing you've accidentally uploaded the wrong video file for
> this bug. :)
> 
> From your description it sounds like maybe you're getting accidental
> dragging and dropping behavior on the Krita timeline when you click with
> your tablet pen? And this is sometimes causing the frames to be lost
> entirely, if I understand correctly. 
> 
> I'll test around and see if I can reproduce that issue, but if you have
> another video then that might help too.

Ah, that's a completely unrelated recording, sorry. I've added the right one.
Comment 8 Bug Janitor Service 2024-04-05 03:47:14 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 9 Emmet O'Neill 2024-04-12 01:33:10 UTC
Hey again Dynline, and thanks for the other video. :)

So I can't exactly reproduce this issue on the latest master development branch, so it's possible that it's already been fixed.
I've tested with both a mouse as well as my drawing tablet pen.

Are you sure that you're not just accidentally dragging the animation keyframes on top of one another?
Does the same thing happen if you slow down?

I've noticed that it's somewhat easy to do that when tapping really quickly with a tablet pen, though I didn't have the problem as much as you seem to be, based on your video. Either way, there may be things we can do to make the drag-and-drop controls within the timeline more precise, so I'll keep that in mind whether this is an actual implementation bug or not.
Comment 10 Dynline 2024-04-12 08:06:35 UTC
(In reply to Emmet O'Neill from comment #9)
> Hey again Dynline, and thanks for the other video. :)
> 
> So I can't exactly reproduce this issue on the latest master development
> branch, so it's possible that it's already been fixed.
> I've tested with both a mouse as well as my drawing tablet pen.
> 
> Are you sure that you're not just accidentally dragging the animation
> keyframes on top of one another?
> Does the same thing happen if you slow down?
> 
> I've noticed that it's somewhat easy to do that when tapping really quickly
> with a tablet pen, though I didn't have the problem as much as you seem to
> be, based on your video. Either way, there may be things we can do to make
> the drag-and-drop controls within the timeline more precise, so I'll keep
> that in mind whether this is an actual implementation bug or not.

Hi!
Thank you for looking into that. I have tried again in 5.3.0 prealpha 4f60fd98, if I do slow clickling it happens way less often but I can still see the little white square with the arrow appearing next to the frames sometimes. If it's not a bug but a mix of the things in my setup making it worse I'll keep in mind to be careful when clicking on the timeline
Comment 11 Bug Janitor Service 2024-04-13 03:48:07 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 12 Emmet O'Neill 2024-04-18 22:18:46 UTC
Hey again Dynline, I want to let you know that I'm confirming this issue but reclassifying it as a wishlist item since it seems to be less of a bug and more of a potential usability improvement.