Pasting images into Discord is broken on Brave

Description of the issue:
When using the Discord chat app, Images in the clipboard can’t be based into the chat field. This used to work in brave and still works on chromium, but became broken some unknown time after a change to Discord’s layout. (EDIT: the change in layout may be unrelated, see post below)

How can this issue be reproduced?

  1. Open the discord chat app in one tab. Go to any conversation channel, on a server or in a DM.
  2. In another tab, got to a website that has an image and rightclick->copy the image to the clipboard (not a link to the image!)
  3. Rightclick in the chatbox in Discord and select paste, or use the standard paste shortcut. Nothing happens.

This does work however if pasting an image copied from another program, for example paint or another browser. It also works if the Discord web app is opened in another browser like chromium.

Expected result:
Being able to paste images into the discord chat box. In stead of nothing happening, discord should show a thumbnail of the image in the chatbox post-paste.

Brave Version( check About Brave):

Version 1.35.100 Chromium: 98.0.4758.87 (Official Build) (64-bit)

I need to restart brave t go to the latest version (I haven’t for a few days) but this issue has existed for several months and I’ve waited for discord to fix it on their end.

Additional Information:
This is known to affect linux and believed to affect windows as well.

1 Like

After a cursory look, this issue seems similar to https://github.com/brave/browser-laptop/issues/3560

I’ve noticed I have a similar problem in that I can’t paste a copied image into paint, so maybe this is an issue when Brave writes to the clipboard rather than when reading from it. I can paste into brave from other programs just fine so far.

Issue persists on Version 1.37.111 Chromium: 100.0.4896.79 (Official Build) (64-bit)

Issue persists on latest version. Brave seems to copy images to the clipboard (or fails to) in a format that cannot be read back when pasting into discord.

problem only affects brave browser