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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx
    • 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

      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()))".

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

              Created:
              Updated:
              Resolved:
              Imported: