ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

COPY button does not Work in Desktop App

Open Talhamehar007 opened this issue 3 years ago • 4 comments

Version

v0.10.3

Bug description

I am running the Desktop Application in Manjaro. The copy function does not seem to be working. I always have to open the ChatGPT in the browser to copy the code generated.

I installed it using "yay -Syu chatgpt-desktop-bin" command.

OS

Linux Manjaro 6.1.1-1-MANJARO

Environment

No response

Talhamehar007 avatar Feb 14 '23 14:02 Talhamehar007

Where do you mean by the copy button?

lencx avatar Feb 15 '23 15:02 lencx

When the ChatGPT gives you some code in the Code Box. That Button.

The button is non-responsive. When you click the button there's no response. You check the clipboard, it's empty.

image

Talhamehar007 avatar Feb 16 '23 01:02 Talhamehar007

The error message in the console is:

TypeError: undefined is not an object (evaluating 'navigator.clipboard.writeText')

The copy works for the responses and only fails for copying code blocks (at least on my system)

anasem avatar Feb 21 '23 13:02 anasem

When the ChatGPT gives you some code in the Code Box. That Button.

The button is non-responsive. When you click the button there's no response. You check the clipboard, it's empty.

image

The copy button comes with the website and is not provided by the application.

lencx avatar Feb 21 '23 14:02 lencx

The copy works totally fine in the website. Clearly there is something in the application that is breaking the copy @lencx

WoxWik avatar May 25 '23 13:05 WoxWik