Closed Bug 485287 Opened 16 years ago Closed 8 years ago

When dragging an image from Firefox into other Mac OS X applications, The NSFilesPromisePboardType does not provide file names for use by namesOfPromisedFilesDroppedAtDestination:

Categories

(Core :: Widget: Cocoa, defect, P3)

x86
macOS
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: wintersoft, Unassigned)

References

()

Details

(Whiteboard: tpi:+)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 I am writing a Cocoa application that receives images dragged and dropped from within Firefox or Safari using the NSFilesPromisePboardType. Firefox should provide a file name via the namesOfPromisedFilesDroppedAtDestination: callback method but instead it just returns an empty string. Safari correctly provides a file name. The source code for the test application used in the screencast that demonstrates this bug is available at http://aptonic.com/development/testcases/DraggingFilePromiseTestCase.zip Reproducible: Always Steps to Reproduce: Drag an image from a Firefox web page into an application that accepts the NSFilesPromisePboardType dragging type. Actual Results: Firefox provides an empty string when asked for the file name via the namesOfPromisedFilesDroppedAtDestination: Expected Results: Firefox should provide the file name for the dragged image like Safari does. Screencast at http://aptonic.com/development/screencasts/Firefox%20Drag%20Bug.mov Test case used in screencast available at http://aptonic.com/development/testcases/DraggingFilePromiseTestCase.zip This bug also exists in Firefox-3.6a1pre.
Component: Shell Integration → Drag and Drop
Product: Firefox → Core
QA Contact: shell.integration → drag-drop
I'm seeing this bug, too, with Firefox 3.6.3 on Mac OS X 10.6.3.
Component: Drag and Drop → Widget: Cocoa
Is this still happening with current Firefox versions, on current versions of OS X?
Yes, it's still happening in OSX Mavericks 10.9.1 and Firefox 27.0 (rev 5a11c57ceaa7)
Still there, Firefox 32.0.2. First reported 5 years ago…
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Whiteboard: tpi:+
Our implementation of namesOfPromisedFilesDroppedAtDestination: was removed in bug 1325770 as a result of switching DnD APIs in bug 1235162. Also, the test files from comment 0 are no longer available. If this is still an issue, please reopen and attach the test files to this bug. Thanks!
Status: NEW → RESOLVED
Closed: 8 years ago
Priority: P2 → P3
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.