Skip to content

Images can not be dragged and dropped #4668

@flatsponge

Description

@flatsponge

Description

Drag and drop is not importing images correctly. it displays the file path instead of the image. I ruled out permission issues by testing a file from the directory OC is running, but the issue persists. Note that pasting a screenshot from the clipboard works as expected.

OpenCode version

v1.0.106

Steps to reproduce

  1. Take a screenshot
  2. Drag and drop into the terminal
  3. The path is imported and not the image

Screenshot and/or share link

Image

Operating System

Mac 26.1

Terminal

warp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions