A file dropped just before the window is minimized can be imported more than once
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- audio-video-rtc, desktop
Research direction
Start with the frame loop's logic-only tick and the drop routing tests mentioned in the issue. Trace how raw input is routed after a file drop, then add a guard or clear the dropped files after the first routing so later ticks do not process them again. Add a regression test showing that a drop is routed only once when the window is minimized, and run the drop routing tests.
Written by the indexing model from the issue text.
Description
While the window is minimized or hidden, the frame loop's logic-only tick re-reads the previous pass's raw input. If a file drop arrived in that last pass, each tick sees it again: before #368 the old code re-imported it; with the drop router it would queue duplicates. Reaching it needs a minimize within about a second of a drop. Low priority; the fix is a small guard that marks a raw-input pass as consumed once routed (or clears the dropped files after the first routing), with a test in the drop routing tests.
- Dominant language
- Rust
- Stars
- 8
- Forks
- 1
- Avg merge
- 10h 27m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from transit-audio/transit
-
area:plug-ins bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
transit-audio/transit#347 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
transit-audio/transit#258 · 1 comment ·
-
tracking
Difficulty 1/5 Under an hour Newbie friendliness 95/100
transit-audio/transit#228 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
transit-audio/transit#156 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
transit-audio/transit#152 ·
All issues in transit-audio/transit
Similar issues
-
bug priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
storytold/photocraft#12183 · 1 comment ·
Maintainers usually reply within 2 days
-
area:render needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
bherbruck/solvecraft#13138 ·
-
testing
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ratatui/ratatui-textarea#39 ·
-
area:frontend kind:bug priority:p2 ready
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day