13

It seems to be with the latest Chrome update (35.0.1916.114) I no longer am able to copy/paste pictures into the "Add Image" dialog box when creating an answer. However, I can still paste pictures if i go directly to the Imgur website and use their web upload dialog box. Is this an intended change? It is a super useful feature.

I'm on a Mac running 10.9.3. (also didn't work with 10.9.2)

As you can see in the screen shot, there is no "or paste" option listed.

screen shot

2

1 Answer 1

13

The Clipboard interface name has been changed to DataTransfer, without any backwards compatibility:

http://src.chromium.org/viewvc/blink?view=revision&revision=168494

Unfortunately, that broke our feature detection and disabling "paste" on Chrome in the process.

The fix isn't easy because though other browsers implement this interface, the implementation vary (if they work at all) and we would end up claiming paste support on browsers where paste isn't supported.

We are looking into a solution, but have no timeframe.


This is now fixed, though we don't advertise the fact on the popup. WebKit only, ATM.

3
  • 2
    Even if you can't sniff to show the that the "paste" option is available on the dialog, could you at least listen to the DataTransfer signals? I find it's much easier to answer questions about plots when it's super easy to copy/paste results. It's killing my productivity.
    – MrFlick
    Commented May 25, 2014 at 7:22
  • @MrFlick - changing the implementation and making sure it works correctly (and advertises correctly) on different platforms and browsers takes time.
    – Oded StaffMod
    Commented May 25, 2014 at 7:26
  • In the mean time, why not just add the text "where available" to the message (i.e. "or paste or drag-and-drop where available"). This way users who do not have that functionality available will be aware that it probably wont work (they are probably used to nothing working if they are using an old browser). Moreover, this will allow just about everyone else to go on using the existing feature. Just as a temporary solution while an updated feature detection process is implemented.
    – Travis J
    Commented Jun 6, 2014 at 18:20

You must log in to answer this question.

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