Drag and drop from browser bug?
bdrunrev at gmail.com
Sat Feb 13 09:58:22 EST 2010
On Sat, Feb 13, 2010 at 2:05 PM, David Bovill <david.bovill at gmail.com> wrote:
> Try this url (http://david.on-rev.com/tests/drag_image.html) - it is an
> example of a file that the browser and finder handels fine
Other images where the href of the surrounding anchor tag points to a
URL for the image file still work as Jacque says (the URL is in
dragData["text"]). It seems to me that what you are seeing is that
the href of the surrounding anchor tag of your test page is being put
into the dragData["text"], not the value of the href attribute of the
I guess that Finder (and for that matter, Explorer on Vista) are get
the URL from the href of the img tag, rather than the surrounding
anchor tag and downloading the image accordingly. It's hard to know
if this should be marked as a bug or an enhancement.
More information about the Use-livecode