- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    8
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8130000 | 7u40 | Dmitry Cherepanov | P4 | Closed | Fixed | |
| JDK-8129999 | 7u21 | Dmitry Cherepanov | P4 | Closed | Fixed | 
                    The problems reported as a part of http://javafx-jira.kenai.com/browse/RT-20270:
Kiril added a comment - May, 4 2012 09:16 AM - edited
The extension filter needs an improvement...it does not act as a filter at the moment
1.) It does not filter the contents of the current folder depending on the current filetype
Usually when a png filter is specified (there's a "[png]" value in the "Save as type" box) I would expect to see all png files in the current folder(this is the defaul behavior in windows)
2.) the extension is not appended to the filename:
If a png filter is specified as a filetype, then when the user inputs "name" and clicks Save, a "name.png" file should be created, but not a file "name"
3.) the suggested filename is always ignored...what's the point in having a suggested name argument then?
fileSaveService.saveFileDialog(null, supportedImageExportExtensions, imageInputStream, "my_suggested_name.png");//always ignored
            
Kiril added a comment - May, 4 2012 09:16 AM - edited
The extension filter needs an improvement...it does not act as a filter at the moment
1.) It does not filter the contents of the current folder depending on the current filetype
Usually when a png filter is specified (there's a "[png]" value in the "Save as type" box) I would expect to see all png files in the current folder(this is the defaul behavior in windows)
2.) the extension is not appended to the filename:
If a png filter is specified as a filetype, then when the user inputs "name" and clicks Save, a "name.png" file should be created, but not a file "name"
3.) the suggested filename is always ignored...what's the point in having a suggested name argument then?
fileSaveService.saveFileDialog(null, supportedImageExportExtensions, imageInputStream, "my_suggested_name.png");//always ignored
- backported by
- 
                    JDK-8129999 FileSaveService.saveFileDialog needs some update -           
- Closed
 
-         
- 
                    JDK-8130000 FileSaveService.saveFileDialog needs some update -           
- Closed
 
-         
- is blocked by
- 
                    JDK-8125067 Mac: Extension filter doesn't work properly in FX/Glass -           
- Resolved
 
-         
- 
                    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
 
-