Open Bug 586087 Opened 14 years ago Updated 1 year ago

Drag and drop with an image from Firefox to a dock droplet passes ~/Library/Caches/TemporaryItems instead of the full path to the image

Categories

(Firefox :: Shell Integration, defect)

x86_64
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bugzilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b2) Gecko/20100720 Firefox/4.0b2
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b2) Gecko/20100720 Firefox/4.0b2

I have an application on my Dock that accepts files to be dropped on it. I would like to be able to drag an image to this and bypass putting it on the desktop first. The problem is that Firefox is giving only the path to the TemporaryItems (/Users/username/Library/Caches/TemporaryItems) directory, and not to the actual image file in that directory. Safari handles this correctly, passing the complete path to the file.

(I'm using a Platypus (http://www.sveinbjorn.org/platypus) to turn my Ruby script into a droplet. I've uploaded a sample script that just echoes the arguments passed to it http://scragz.com/files/dump/2010-08-10/DragAndDrop.zip)

Reproducible: Always

Steps to Reproduce:
1.Drag an image from Firefox to a Dock droplet
Actual Results:  
Droplet is called with /Users/username/Library/Caches/TemporaryItems as arguments

Expected Results:  
Droplet is called with /Users/username/Library/Caches/TemporaryItems/temporary_image_file.jpg as arguments
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.