Drag and drop from browser bug?

J. Landman Gay jacque at hyperactivesw.com
Fri Feb 12 17:35:17 EST 2010


David Bovill wrote:
> Thought this used to work? Do earlier versions set the dragdata correctly
> when you drag and drop an image from the browser?
> 
> Testing on OSX - but images that you can successfully drag and drop onto the
> desktop - but you are unable to get useful data out of the dragdata. I'd
> expect that the dragdata ["files"] would be set to the url of the image -
> but it is empty and the dragdata ["text"] is vaguely related to the url of
> the image in that it often is - but sometimes can be a useless piece of
> javaScript like "javascript:void(0);". The Finder obviously handles the
> dragdata correctly - so is this an OSX bug or?

Which version of Rev? In 4.0, if the image has a link, I get the link 
URL. If there is no link, I get the URL to the source image on the 
server. These are in the "text" value. The "files" value is empty.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list