Project: SWT
Bug 248796 [DND] Cannot drag and drop files between the Finder (ie. Cocoa and Carbon apps)
Reported: 2008-09-26 18:13:48 | Status: resolved fixed

Just entering a bug based on Scott's comments so that it's not lost. Comments from Scott: At this point Im aware of only one known problem. Cocoa apps dont have a way to provide a list of files to the Finder using HFSFlavors like you have in Carbon. Instead, you place an NSArray of file names on the dragging clipboard with a flavor of NSFilenamesPboardType. Other Cocoa-based apps can understand that format, and I verified it works, but the Finder and other Carbon apps do not, so they dont recognize the drag data. I dont know what functionality is expected of FileTransfer across platforms, so I dont know if the Carbon behavior was accidental or deliberate. Cocoa lets you do HFS promise file drags, but I dont think thats the same thing. Ill do what I can to follow up with folks at Apple.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/DragSource.java