something a bit quirky about the current drag and ...
# compose-desktop
t
something a bit quirky about the current drag and drop behaviour - if I drag an image from a browser into my app, I get something that claims to be a FilesList, but when I ask for the files, it gives me a URI to a something.url file in the temp dir, which if I read it, ultimately contains the actual URL I wanted. A bit odd, considering that FilesList is actually a URI list.
if I dig around in the native event, it does advertise the text/uri-list DataFlavor, and reading from that gives me the URIs directly
one wonders why dragging files from Explorer doesn't also produce a text/uri-list (I checked, it produces a java file list)
a
It’s up to the sending application how it sends it.
1