OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: copy button does not work on conversation history

Open createthis opened this issue 9 months ago • 9 comments

Is there an existing issue for the same bug?

  • [x] I have checked the existing issues.

Describe the bug and reproduction steps

If I scroll back up in my conversation history and click the copy button on the last message I sent, nothing happens. The message never makes it to my clipboard. I'm using Chrome.

OpenHands Installation

Docker command in README

OpenHands Version

0.26-nikolaik

Operating System

MacOS

Logs, Errors, Screenshots, and Additional Context

No response

createthis avatar Feb 28 '25 15:02 createthis

Hmmm there was an issue about this that I recently closed because I thought it was fixed. Is there a specific sequence you perform to reproduce this @createthis ?

I'm on Mac, running 0.27 and I've done multiple prompts. I can even go out of the conversation and come back and I can still copy it. Wonder if there's an edge case or can you not copy it at all?

mamoodi avatar Feb 28 '25 16:02 mamoodi

@mamoodi I just upgraded to 0.27. I started a new conversation with test foo bar. As soon as the AI replied I clicked the copy button on the test foo bar bubble. I then clicked in the chat input and pressed COMMAND + v. My previous clipboard contents was pasted ( not test foo bar, in other words).

createthis avatar Feb 28 '25 16:02 createthis

I see nothing in my js developer console when I click the copy button btw.

createthis avatar Feb 28 '25 16:02 createthis

Very strange. So doing the same thing in the video fails for you?

https://github.com/user-attachments/assets/11b1139c-3d7f-4113-a61b-98eba05aa23f

mamoodi avatar Feb 28 '25 17:02 mamoodi

Correct. The button does not change into a checkmark for me when I click it. Nothing happens.

createthis avatar Feb 28 '25 18:02 createthis

Strange! Wonder if something is blocking it in your setup. I also use Chrome but no additional things on top.

mamoodi avatar Feb 28 '25 18:02 mamoodi

Here's a video of what happens:

createthis avatar Feb 28 '25 18:02 createthis

It doesn't work in Incognito mode, or on my windows laptop either.

createthis avatar Feb 28 '25 18:02 createthis

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Mar 31 '25 02:03 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Apr 08 '25 02:04 github-actions[bot]