OpenCut-app / OpenCut-app/OpenCut

[BUG] On dropping Incompatible Track, Causing "Drop media here to add to timeline" Message to Persist After Error

Open
#146 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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
  1. add a audio clip to the track
  2. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.