Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag of clip on timeline with bad position #1380

Open
mikecrash opened this issue Dec 4, 2022 · 10 comments
Open

Drag of clip on timeline with bad position #1380

mikecrash opened this issue Dec 4, 2022 · 10 comments

Comments

@mikecrash
Copy link

When dragging clip on time line, the current behavior is this:

  1. press left mouse button on the clip
  2. move mouse to the left/right to move the position, nothing happens until you move the mouse by some amount (about 20 pixels?)
  3. clip starts moving not from the position where button pressed, but on the position of current mouse position when dragging starts, if you move mouse fast, you drag clip outside of the clip, so clip is not on the position of mouse, but somewhere far away from cursor

Correct behavior:
Clip holds on mouse position when first clicked

Hint:
It seems when the dragging starts, the mouse position is saved and from that position is counted the moved position of the clip. However correct function should be to save the start mouse position in onmousedown event and from that position count the new position of clip.

Tested version:
22.11.25

@bmatherly
Copy link
Member

This does not match my experience when snapping is turned off. Maybe you have snapping on?

image

@mikecrash
Copy link
Author

It doesn't matter if the snap is on or off. Most significant it is when moving the mouse fast.

May be it has something to do with OS? Tested on Debian in GNOME. I will test it in Windows.

@luzpaz
Copy link
Contributor

luzpaz commented Sep 23, 2023

@mikecrash can you provide a screencast of this occuring perhaps ?

@ddennedy
Copy link
Member

@luzpaz stop bumping our bugs with your comments when you are never the one to fix one or provide more insight.

@luzpaz
Copy link
Contributor

luzpaz commented Nov 6, 2023

@mikecrash can you still reproduce on 23.09 ?

I can't reproduce on
Manjaro Linux 23.02
Shotcut 23.09

@mikecrash
Copy link
Author

Yes, on 23.10 installed with snap it's the same. However I have probably more information. If I select the clip first, it seems it works as expected. But when directly dragging the clip without first selecting it with a mouse click the clip is offset-ed from the cursor. I have recorded video with the case:

drag.mp4

@luzpaz
Copy link
Contributor

luzpaz commented Nov 6, 2023

Video 'corrupt'

@mikecrash
Copy link
Author

@luzpaz Yes browser says corrupt, but if I download the video and play it with vlc, it works. Try the same...

@luzpaz
Copy link
Contributor

luzpaz commented Nov 7, 2023

Downloaded. Shows black screen for 8 seconds.

@mikecrash
Copy link
Author

Opened in ShotCut and reexeported. Hope it will work.

drag2.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants