When you drag and drop files to the chat, they are doubled

Describe the Bug

When you drag and drop files to the chat, they are doubled.

Steps to Reproduce

When you drag and drop files to the chat cursor, each file reference appears twice in the chat window.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.44.11
VSCode Version: 1.93.1
Commit: fe574d0820377383143b2ea26aa6ae28b3425220
Date: 2025-01-03T07:59:06.361Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.5.0

Additional Information

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

Does it happen with every file for you? I managed to reproduce this once, but any file added after (even if I empty the context after) doesn’t do it!!

It’s not happening every time, but quite often. I think it occurs more frequently when I drag files from the tabs, though it also happens when dragging from the Explorer. So far, I haven’t noticed any clear pattern for when it occurs.

It happens the same way in new chats as well as in long conversations.

I’m using macOS Sonoma 14.5 (23F79), macbook pro 2019 i9

Thanks for the info, I’ve logged the bug so it should be investigated soon!

Hi,

I installed a new version yesterday, and it seemed like the bug was fixed. However, today, with the new version, the bug has returned.

Now it’s even worse - every drag n drop makes a double reference…

Unfortunately, I don’t remember which version I had yesterday.
Today’s version:

Version: 0.44.11
VSCode Version: 1.93.1
Commit: fe574d0820377383143b2ea26aa6ae28b3425220
Date: 2025-01-03T07:59:06.361Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.5.0

Hey, we temporarily pushed a new version to some users yesterday, but had to roll it back due to some teething issues. If you can wait for the new version to be re-released, and let us know if that fixes things, that would be great!