-
Bug
-
Resolution: Fixed
-
P4
-
8
Initial bug report about FileSaveService is - http://javafx-jira.kenai.com/browse/RT-24433
RT-24433 & JRE bug (7173702) addresses the deploy part of the initial issue but it still needs further improvement in FX/Glass:
1. Extension doesn't work properly on Mac
To reproduce it just run rain demo on Mac and open new file chooser.
The file chooser doesn't allow to change the current file type (the chooser doesn't contain any combo box for that) .
At the same time, the source code (of the rain demo) explicitly creates two filters:
ExtensionFilter filterAll = new ExtensionFilter("All files", extensionsAll);
ExtensionFilter filterTxt = new ExtensionFilter("Text files", extensionsTxt);
2. FX/Glass FileChooser doesn't support suggested filename
Similar functionality is available in Swing:
http://docs.oracle.com/javase/7/docs/api/javax/swing/JFileChooser.html#setSelectedFile(java.io.File)
On Windows the filename is used to initialize the File Name edit control but this functionality isn't present in FX/Glass FileChooser.
Please let me know if i need to submit separate JIRAs for these issues.
1. Extension doesn't work properly on Mac
To reproduce it just run rain demo on Mac and open new file chooser.
The file chooser doesn't allow to change the current file type (the chooser doesn't contain any combo box for that) .
At the same time, the source code (of the rain demo) explicitly creates two filters:
ExtensionFilter filterAll = new ExtensionFilter("All files", extensionsAll);
ExtensionFilter filterTxt = new ExtensionFilter("Text files", extensionsTxt);
2. FX/Glass FileChooser doesn't support suggested filename
Similar functionality is available in Swing:
http://docs.oracle.com/javase/7/docs/api/javax/swing/JFileChooser.html#setSelectedFile(java.io.File)
On Windows the filename is used to initialize the File Name edit control but this functionality isn't present in FX/Glass FileChooser.
Please let me know if i need to submit separate JIRAs for these issues.
- blocks
-
JDK-8125959 FileSaveService.saveFileDialog needs some update
-
- Resolved
-
- duplicates
-
JDK-8118841 Mac: ExtensionFilters do not show in the UI on Mac
-
- Closed
-
-
JDK-8124676 [FileChooser] don't apply content filtering by extension.
-
- Closed
-
- relates to
-
JDK-8098160 FileChooser: Need to be able to specify initial file name in save dialog
-
- Closed
-
-
JDK-8098176 Win: unable to save file name with selected extension filter.
-
- Closed
-