abo-abo / org-download

Drag and drop images to Emacs org-mode
1.08k stars 78 forks source link

Dragging from Browser Not Working #51

Open pabloaperezfernandez opened 7 years ago

pabloaperezfernandez commented 7 years ago

I am on a Win 10 system using Emacs 25.2 from (https://vigou3.github.io/emacs-modified-windows/) because it includes DLLs for inline image display that are typically missing in binary distributions for Windows.

This works like a charm when dragging-and-dropping files from the local file system. It does not work when trying to drag-and-drop from Chrome or Edge. Nothing happens inside of Emacs.

abo-abo commented 7 years ago

It's a browser compatibility issue. Chrome dragging is known to work badly on Linux. Firefox is known to work well.

ghost commented 4 years ago

I can confirm that dragging from Chrome to Emacs does not work. Dragging from Firefox does work but the file is converted to bmp and cannot be viewed in Emacs.

abo-abo commented 4 years ago

OK, I tested on Windows 10 and Firefox. The converted bmp file is saved correctly.

Since Emacs gets passed only the link to the downloaded bmp file, there's no way to recover the original web link and download that.

Why Emacs support viewing png images and not bmp images? Can someone file a new Emacs bug to support this?

coffeepenbit commented 4 years ago

Dragging from Firefox does work but the file is converted to bmp and cannot be viewed in Emacs.

I'm having the same issue in Windows 10. All images are being converted to .bmp and then cannot be opened again.

guilherme-salome commented 4 years ago

I tested the issue on a Mac with Chrome, and dragging and drop is working fine for me.

abo-abo commented 4 years ago

@Salompas Thanks for the info.