[ 
https://issues.apache.org/jira/browse/PIVOT-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767316#action_12767316
 ] 

Todd Volkert commented on PIVOT-329:
------------------------------------

It's worth noting that technically, this is a JRE issue, not a Pivot issue.  
This issue exists for all X11 environments and has been around for a very long 
time.  Note http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4899516, which 
commented in 2003 that it would be good if the JRE could translate between 
text/uri-list and javaFileListFlavor.  In the meantime, Sun's official stance 
is that applications (or in our case, the framework) should export a 
text/uri-list flavor to be fully platform independent.  Given some recent 
traction in https://bugs.openjdk.java.net/show_bug.cgi?id=100041, it looks like 
this *might* be addressed in Java 7.  However, in the meantime, I believe we 
should provide the X11-compatible flavor as well as the java file list flavor.

> Native file drag & drop doesn't work in Linux
> ---------------------------------------------
>
>                 Key: PIVOT-329
>                 URL: https://issues.apache.org/jira/browse/PIVOT-329
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.3
>            Reporter: Todd Volkert
>            Assignee: Todd Volkert
>             Fix For: 1.4
>
>
> In Linux, the content type of a native file drag/drop operation is 
> "text/uri-list" (with multiple representation classes available). 
> getTransferData() effectively returns a list of strings from which URI 
> instances can be constructed.  org.apache.pivot.wtk.RemoteManifest and 
> org.apache.pivot.wtk.LocalManifestAdapter try to deal exclusively in 
> DataFlavor.javaFileListFlavor, but since this flavor isn't used in Linux, 
> native file drag/drop operations don't work in Pivot -- AWT and Pivot 
> effectively talk past each other in this case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to