lencx / ChatGPT

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
https://nofwl.com
51.74k stars 5.81k forks source link

[Bug] Can't click attach icon, conflicting with other 4 icons #1131

Open imabhays opened 8 months ago

imabhays commented 8 months ago

Non-ChatGPT bug

Version

v1.1.0

Bug description

Can't click on "attach" icon in message window, conflicting with 4 other icons at left of message window (refresh,download pdf, generate png, export markdown)

When trying to click the "attach files", it clicks to on other buttons like the attach button is not there though I can locate the button in element.

It used happened before but I used to refresh the app and make it go away but it seems this trick is not working anymore.

https://github.com/lencx/ChatGPT/assets/99868359/fbe3b5c3-c3fd-47a0-85e2-d930fbcc8e68

OS

Windows 10x

Environment

No response

Oatu4396 commented 8 months ago

You can go to the ChatGPT config folder and delete scripts/export.js. The older version of the export script seems to remain while you update the app. After you delete the file and restart the application, it should automatically generate a new version of the export.js, which just works fine as the update log says.

idrnet commented 8 months ago

Thank you, removing "scripts/export.js" is a great solution, i wish it never existed.

lduperval commented 7 months ago

See https://github.com/lencx/ChatGPT/issues/1156#issuecomment-1848587532

DonRichards commented 6 months ago

I'm on a Mac with the same error. Just adding my comments and over explain comments above for anyone else looking. As the person above said you'll need to remove the ~/.chatgpt/scripts/export.js or rename it. Then restart the app and the problem is gone. So the the ability to export with the app but it's worth it to me. Thanks @Oatu4396 for the insight!!!

Screenshot Before Screenshot After