JoelBesada / pasteboard

Clipboard and drag & drop image sharing web app

Home Page:http://pasteboard.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opera support

pepelsbey opened this issue · comments

As long as Opera supports Drag and Drop since Opera 12, what could prevent you from supporting Opera?

I'm not blaming you, but could you please test your code in Opera and tell me about problems you have? Thank you.

Uploading images via Drag and Drop on Pasteboard does actually work in Opera. However, after testing the app again I found that scrolling didn't work, but I've fixed that issue now.

Sorry, I haven't checked Opera 12.0x (current stable) — yes, it actually works. But it still doesn't work in 12.5x, see snapshots. Could you please have a look? As 12.5x will be released soon.

Well, from what I can gather from testing it in 12.5x is that the readAsDataURL method of the FileReader object has some serious issues, often leading to the browser crashing. When it's not crashing right away, the base64 URL doesn't seem to be correct, causing either the image to not render or the image load event to not trigger.

This issue could be ignored by instead using the createObjectURL method of the window.URL object, but that only returns the original file/blob in Opera and not a generated URL to it, as it should according to the specification.

There's no apparent way for me to work around this, so I hope this issue gets fixed before the 12.5x release.