-
Bug
-
Resolution: Fixed
-
P4
-
7u6
-
JavaFx 2.2 b18
Product: javafx-2.2.0beta
Platform: macosx-universal
Build-Number: 134
Build-ID: 2012-07-17_17-02-04
If I do:
File file = dragEvent.getDragboard().getFiles().iterator().next();
System.out.println("File: " + file.getAbsolutePath());
System.out.println("File exists: " + file.exists());
I see:
File: /Users/danielfuchs/Desktop/tool%20stuff/Capture%20d%E2%80%99e%CC%81cran%202012-02-10%20a%CC%80%2011.57.48.png
File exists: false
I should be seeing:
File: /Users/danielfuchs/Desktop/tool stuff/Capture d'écran 2012-03-23 à 10.48.52.png
File exists: true
The file in the Dragboard is invalid: I guess there was a conversion from URI to File which went wrong.
- blocks
-
JDK-8117898 Mac: Drag and drop of an image from Finder does not work
-
- Closed
-
- duplicates
-
JDK-8119860 Dropped file on mac is URL escaped
-
- Closed
-
-
JDK-8120655 Mac: Native drag and drop: Faulty file paths after native file with umlaute was dropped
-
- Closed
-
-
JDK-8125897 Native drag and drop does not work when file path contains spaces
-
- Closed
-
- is blocked by
-
JDK-8125127 Mac: DragEvent.getDragboard().getFiles() returns an empty list with FX 8
-
- Closed
-
- relates to
-
JDK-8126694 Mac: FileChooser.showOpenDialog() + JDK7 + MacOS produces an invalid File instance if filename contains accent
-
- Closed
-