mltframework / mltframework/shotcut
Weird behavior on creating transition by resizing clips with snapping on and playhead on the edge
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 5
Description
The problem is best explained by the screen captures. Snapping is on, there is a gap between two clips and the playhead is placed on the edge of the first clip - in the first case on the frame just after the clip and in the second case on the last frame of the clip. Then the second clip is resized towards the first clip. The overlap with transition is then resizing very wildly and seemingly undeterministically depending on the speed of mouse movement. In the second case it even resizes in the oposite direction of the mouse. It seems like it can't decide which object it wants to snap to.
Undo action also works wrong here as you can see at the end of the first clip. It usually resizes back the second clip only to the position where it met the first clip. As if the overlap with transition was made as a second action after joining the two clips to be adjacent, but the undo only reverts the overlap with transition action.


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are named. Start by reproducing the resizing and undo behavior shown in the two screen captures with snapping enabled and the playhead on the clip edge; done means resizing is deterministic and undo restores the prior clip positions and transition state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100