mltframework / mltframework/shotcut
"Backward One Second" sometimes unexpectedly goes forward ca. 1 second
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 5
Description
OS and Version (please complete the following information):
- Operating System: Debian Trixie
- Shotcut Version:
shotcut-linux-x86_64-26.8.1.txzfrom the project download page
Describe the bug
Backward One Second sometimes unexpectedly goes forward instead of backward.
Steps To Reproduce
To reproduce this issue, please download the project skipright.mlt from:
https://www.metalevel.at/shotcut/skipright.mlt
and the video it uses:
https://www.metalevel.at/shotcut/skipright.mp4
- Open
skipright.mltin Shotcut - Add a key binding (ideally: a single key) that lets you quickly access the function
Skip Previous. In my case, I bound this to the number1(after removing the default binding of1, so that the key binding was free) - Press
Endto go to the end of all tracks - Our goal is to elicit a case where PgUp (
Backward One Second) unexpectedly goes forward instead of backward. We can elicit such a case by quickly alternating betweenSkip PreviousandBackward One Second. In my case, when I quickly press:1 PgUp 1 PgUp 1 PgUp 1 PgUp ....then it often works exactly as expected, but sometimes during the succession a case occurs wherePgUpgoes forward approximately one second, instead of backward.
Expected behavior
We expect this key sequence to go strictly monotonically backward in time, never forward.
Thank you a lot for Shotcut! Please let me know any time if you have any questions.
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
Start by reproducing the issue with skipright.mlt and skipright.mp4 in Shotcut, using the described Skip Previous and Backward One Second key sequence. Trace the handling of those two functions and the rapid alternating input. Done means repeated Skip Previous/PgUp sequences move strictly backward and a regression test covers the case.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100