[Bug] Pasting an image in Chat inserts it into the open Markdown file instead — Chat input appears focusedbug

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Hi team,

When I paste an image from the clipboard with Cmd+V while the caret is in the AI Chat input (right sidebar), the image does not attach to the chat. Instead, it is inserted into the currently open Markdown file in the editor (markdown image syntax is inserted and image files are created in the workspace).

The same image on the clipboard pastes fine in other apps (Notes, browsers, etc.), so this seems like a focus / paste routing issue inside Cursor (which pane actually receives the paste), not a broken system clipboard.

Environment
Item Value
OS
macOS, Darwin arm64 25.3.0
Cursor
2.7.0-pre.124.patch.0
VS Code
1.105.1
Commit
dbff8e29eb94f7734638c822565c1ff176c608e0
Build date
2026-03-24T05:51:50.110Z
Build Type
Stable
Release Track
Nightly
Electron
39.8.1
Chromium
142.0.7444.265

Steps to Reproduce

Open any .md file.
Put an image on the clipboard (e.g. screenshot).
Click the AI Chat input at the bottom of the sidebar and confirm the caret is blinking in the chat box (not in the center editor).
Press Cmd+V to paste.

Expected Behavior

Expected: The image is attached to the chat as an attachment.
Actual: The image is inserted into the open Markdown document (and files are written under the project); nothing is attached to the chat.

Operating System

MacOS

Version Information

OS
macOS, Darwin arm64 25.3.0
Cursor
2.7.0-pre.124.patch.0
VS Code
1.105.1
Commit
dbff8e29eb94f7734638c822565c1ff176c608e0
Build date
2026-03-24T05:51:50.110Z
Build Type
Stable
Release Track
Nightly
Electron
39.8.1
Chromium
142.0.7444.265

Additional Information

I am confident the text caret is in the Chat input, not in the editor, when I paste.
Workarounds: drag-and-drop or the image button in the input area — workable but much slower than Cmd+V.
I’m on the Nightly track; I haven’t verified whether this reproduces on Stable — happy to test if that helps.
Thanks for looking into this — fixing paste targeting when the Chat UI looks focused would save a lot of friction.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hi @Jasm1ne,

Thanks for the detailed bug report. We tried reproducing this on a recent Nightly build with a .md file open, but pasting images into chat worked as expected on our end.

A few things that would help us narrow this down:

  1. Is this happening every time you paste, or only sometimes?

  2. Does it still happen after restarting Cursor?

  3. Could you try with extensions disabled (launch with --disable-extensions from the command line) to rule out an extension conflict?

  4. If you’re able to capture a short screen recording showing the issue, that would be really helpful.

Thanks for your patience!

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.