Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8120655

Mac: Native drag and drop: Faulty file paths after native file with umlaute was dropped

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      Mac OS X 10.6.8, Mac Pro 2 x 3 GHz Quad-Core Intel Xeon, NVIDIA GeForce GTX 285 + NVIDIA GeForce GTX 120, javafx_sdk-2_2_0-beta-b11-macosx-universal-30_may_2012

      Description

      I know native drag and drop is not currently not supported on Mac OS X, but I found a workaround using a drag-exit-eventhandler in my application. Nevertheless this is not not the problem :) If I try to drag some files which contain umlaute, then I got from "event.getDragboard().getFiles()" files with wrong file paths. Note, this only happens with umlaute. My current workaround is: "new File(new URI("file://" + transferedFile.getAbsolutePath()))".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              anthony Anthony Petrov (Inactive)
              Reporter:
              srosejfx Steffen Rose (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: