10

I can't paste images into Stack Overflow anymore. Does anyone else have this problem?

I'm on Chrome Version 93.0.4577.63 (Official Build) (64-bit) in Linux Ubuntu 18.04.

The snipping tools I tried are Shutter and Screenshot. I get the same behavior on two computers, each running Chrome (and logged into my Chrome account, with my Chrome plugins). One computer is Ubuntu 18.04, and the other is Ubuntu 20.04.

Note: there are a bunch of "duplicates" of this question, but since they are old, they no longer apply in the event that this is a new bug or newly-introduced regression.

See comments below. The problem seems to exist in the Chrome browser only...

See also:

  1. [I posted this question here too] https://askubuntu.com/questions/1361992/pasting-images-from-the-clipboard-into-a-stack-exchange-site-stack-overflow-as?noredirect=1#comment2341105_1361992
18
  • I just used the Windows snippet tool (Win + Ctrl + s) and pasted directly into the Answer box and it got me this part of your Question. It works with Opera.
    – Scratte
    Commented Sep 4, 2021 at 4:14
  • @Scratte, I wonder if it's a Chrome plugin problem or Chrome bug... Commented Sep 4, 2021 at 4:16
  • You could install a few other browsers to find out if it's the browser, no?
    – Scratte
    Commented Sep 4, 2021 at 4:20
  • 1
    I just checked in FireFox. It works. It's the browser... Commented Sep 4, 2021 at 4:24
  • I still get the problem in Chrome's incognito mode too, which seems to imply the problem is not my Chrome plugins? Commented Sep 4, 2021 at 4:26
  • The problem also exists in Chrome's "Guest" mode. So, again, it seems to not be my plugins, but the browser itself. Anyone else experiencing this in Chrome on any other OSs? Commented Sep 4, 2021 at 4:30
  • Works fine for me in Chrome 92.0.4515.159 (and 93.0.4577.63, after updating) on Win10. I was just able to paste into the answer box on this question.
    – Ryan M Mod
    Commented Sep 4, 2021 at 4:46
  • @RyanM, thanks. I wonder if anyone else on Ubuntu can verify if this is an Ubuntu-specific issue. Commented Sep 4, 2021 at 4:51
  • No problems on Ubuntu MATE 20.04 (Focal Fossa) with Firefox 91.0.2. Commented Sep 4, 2021 at 4:58
  • 1
    @Gabriel Staples: I will give it a try (but it will take some time). Commented Sep 4, 2021 at 6:19
  • 1
    Works fine on Chrome 93.0.4577.63, for Mac. Issue seems pretty localized.
    – yivi
    Commented Sep 4, 2021 at 6:30
  • 1
    No repro in Chromium 92.0.4515.159 (Official Build) (64-bit), Chrome 93.0.4577.63 (Official Build) (64-bit), or Firefox 91.0.2 (64-bit) on Mint 20.2 (Based on Ubuntu 20.04.3). Commented Sep 4, 2021 at 9:46
  • 1
    Also not reproducible on Chromium 93.0.4577.63 for Arch Linux. Commented Sep 4, 2021 at 10:54
  • 1
    To further confuse me, pasting images works fine from my work's stack enterprise stack overflow system on the same computer and in the same Chrome browser at company_name.stackenterprise.co. Commented Sep 5, 2021 at 7:50
  • 1
    I also have this problem, it's not StackExchange related, because the same thing also doesn't work for me on other sites. It still worked last week. I am running 92.0.4515.159 (Official Build) (64-bit) on Ubuntu 18.04.
    – jgosar
    Commented Sep 6, 2021 at 7:57

1 Answer 1

9

I got a temporary solution for this problem from the Chromium team:

  1. Go to chrome://flags/#use-ozone-platform in your browser.
  2. For the "Use ozone" setting, select "Disabled", as shown here: enter image description here

I assume that now that this problem is known, they will eventually fix it so that changing this setting won't be necessary anymore.

Bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=1246811

EDIT (2021-11-30): As of Chrome version 96.0.4664.45 this works again without any extra settings, so if you are having this problem on an older version you just need to update.

6
  • 1
    Where did you get this solution? Is there a bug report or discussion you can link to? Commented Sep 17, 2021 at 5:31
  • 2
    Added the link to the answer
    – jgosar
    Commented Sep 17, 2021 at 5:57
  • 2
    I am using latest chrome Version 94.0.4606.61 (Official Build) (64-bit) and I still need this work around. thank you!
    – actan
    Commented Sep 26, 2021 at 5:35
  • I used this fix in the past and it worked but today I noticed I can't paste again and this flag is not available anymore in Chrome so I can't switch it off in Chrome version 95.0.4638.54
    – KoviNET
    Commented Oct 28, 2021 at 5:48
  • The same thing happened for me, but now that I have 96.0.4664.45, this works again without any extra settings
    – jgosar
    Commented Nov 30, 2021 at 13:51
  • Note that on Google Chrome Version 125.0.6422.141 (Official Build) (64-bit) it no longer works (On Linux, Tested Ubuntu 23.04, 23.10 and 24.04). Commented Jun 6 at 16:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .