OpenCut-app / OpenCut-app/OpenCut
[BUG] On dropping Incompatible Track, Causing "Drop media here to add to timeline" Message to Persist After Error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 89.8k
- Forks
- 8.9k
- PR merge metrics
- No merged PRs in 30d
Description
Platform
Windows 11
Browser
Chrome
Current Behavior
when drop an incompatible track on each other then the error is thrown but the state is not been reset due to this the state of "Drop media here to add to timeline" is being displayed.
Expected Behavior
The state should be reset when a track is dropped even when there is an error.
Recurrence Probability
Always
Steps To Reproduce
- add a audio clip to the track
- drop video clip on the track of the audio clip track
Anything else?
https://github.com/user-attachments/assets/8748bc80-64a3-4b76-9ccb-70bb7d2184bb
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue in Chrome on Windows 11 by adding an audio clip, then dropping a video clip onto its track. Trace the timeline track drop handling and error path to find where the empty-track message state is managed. Done means the state resets after the incompatible drop and the expected message no longer persists after the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100