19

I use both Google Chrome and Firefox, but the Stack Overflow website works differently on both websites with images. When directed to this screen:

enter image description here

In Chrome, we can just use Ctrl+V to paste the image after using something like a snipping tool or Print Screen.

In Firefox however, we must either save it to our computer, or use something like snag.gy to post our images. Then, we must right click and click "View Image", and finally, in the "Provide a link from the web" dialog, paste the image URL.

That is an awfully long process, so can we have the paste functionality in Firefox also?

5
  • 1
    Don't both of those tools save the file locally? Why can't you just drag it in from where it's saved, or navigate to where it's saved on your machine? Why do you feel that you need to use the third party image hosting solution when the site has already baked in Imgur?
    – Makoto
    Commented Dec 7, 2015 at 4:14
  • I just double checked and dragging and dropping an image works in Firefox.
    – BSMP
    Commented Dec 7, 2015 at 4:28
  • 3
    @BSMP It does, but I'm talking about copy and paste functionality. Commented Dec 7, 2015 at 5:33
  • @RuchirBaronia - I mentioned it because Makoto asked why you couldn't just drag it in. I was just confirming that dragging & dropping does work in Firefox.
    – BSMP
    Commented Dec 7, 2015 at 15:30
  • 1
    Repro'd in IE11, not in edge. The use case is: "answering a question, I use the snipping tool (win7+) to capture part of my screen. I click the button to copy the image to the clipboard. Back in the browser, I click the image button in the post editor. The above image dialog appears. I type ctrl-v" Desired behavior (chrome, edge, possibly other browsers)--image is pasted into the dialog. This is most likely to do with HTML5 standards not being supported in the browser, I'd wager. Unsure of in-browser workarounds, but I bet they all suck :/
    – user1228
    Commented Dec 7, 2015 at 16:48

2 Answers 2

17

The dialog is already dynamic to show all the options the browser you're using currently supports, as it runs checks for browser support on all the features it attempts to use. If the browser doesn't support a certain feature, it doesn't show that option.

Firefox does not currently support the paste feature without a focused, editable field which is required to make that work, presumably for security reasons (though I've heard you can manually enable it somehow). So it does not show that option to you when using a Firefox browser. If Firefox ever makes the feature available, the option will automatically appear on its own without need for a code change.

6
  • github.com/FineUploader/fine-uploader/issues/… has an outline of how you can work around FF from someone who decided it was too much work; developer.mozilla.org/en-US/docs/Mozilla/Projects/Midas/… explains how to enable the pasting locally, but that's far too much hassle for almost anyone. (Seriously, user.js? Not even about:config?) Commented Dec 7, 2015 at 6:37
  • 6
    I never saw any text saying you can press Ctrl+V in that dialog. And I'm not alone. Shouldn't there be something in there? Commented Dec 7, 2015 at 8:36
  • @LucasTrzesniewski It should explicitly mention it. It used to do that with the old dialog. I had no idea it didn't now because I use Firefox and it's not supported, so I wouldn't see it anyways.
    – animuson StaffMod
    Commented Dec 7, 2015 at 8:39
  • Do you know how I can "manually enable it" like you stated? Commented Dec 8, 2015 at 20:40
  • @RuchirBaronia See Nathan Tuggy's comment above.
    – animuson StaffMod
    Commented Dec 8, 2015 at 20:41
  • 3
    Ctrl-V does work in Firefox on imgur.com
    – user330315
    Commented Dec 8, 2015 at 20:51
3

This appears to be a longstanding bug/feature request and as of today (July 2016) is actively being worked on. Yay!

You must log in to answer this question.

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