You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenCode Desktop - Drag and drop fails when dropping multiple files sequentially #39705
Previously, dragging and dropping multiple files from the OpenCode Desktop file explorer into the chat input worked as expected. Now, dragging a second file causes it to disappear/get ignored without adding any file reference to the prompt.
Plugins
No response
OpenCode version
v1.18.9
Steps to reproduce
Open OpenCode Desktop and start a chat session.
Drag and drop one file from the file explorer sidebar into the chat prompt box (attaches as expected).
Drag and drop a second file from the file explorer into the chat prompt box.
Notice the second file disappears and does not get attached or referenced in the chat prompt.
This is the same bug and it now has a fix with regression tests: #49185 (root cause was mention insertion reusing the @-query heuristic across prompt parts, so every drop after the first silently inserted nothing). Linked as Closes #39705.
Activity
deepakajay0477 commentedon Sep 15, 2026
This is the same bug and it now has a fix with regression tests: #49185 (root cause was mention insertion reusing the @-query heuristic across prompt parts, so every drop after the first silently inserted nothing). Linked as Closes #39705.
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊