However, at least under GTK, it's impossible to get the clipboard
object by looking for data with the flavor "application/x-moz-file",
which works for drag-and-drop. I noticed that in gtk2/
nsDragSession.cpp, there's some special handling for that flavor
that's absent from gtk2/nsClipboard.cpp <http://mxr.mozilla.org/comm-
central/source/mozilla/widget/src/gtk2/nsDragService.cpp#563>.
Is this just a case of the two things being out-of-sync, or is this
intentional? If the former, does this problem exist on other
platforms, and what would be entailed in fixing it? If the latter,
what's the recommended way to go about reading a file object from the
clipboard?
- Jim
The former. Support for specific types on each platform has mostly been
determined by those willing to implement it.
Is there a good person to contact about this then? I'm perfectly
willing to work on patching this, although it would be nice to have
someone who knows what's going on to consult, especially since I'm not
familiar with policies outside of mail/mailnews.
- Jim