Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-329

Native file drag & drop doesn't work in Linux

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: wtk
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              tvolkert Todd Volkert
              Reporter:
              tvolkert Todd Volkert

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment