Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 2592

Summary: [Dialogs] SaveAs dialog should provide file types (extensions) for the file to be saved. (1GGYUAS)
Product: [Eclipse Project] Platform Reporter: Greg Adams <greg_adams>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P4 Keywords: investigate
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows All   
Whiteboard:

Description Greg Adams CLA 2001-10-10 22:39:28 EDT
id  RATLC00002732     Priority: 2
Headline:  SaveAs dialog should provide file types (extensions) for the file to be saved. 
 
 Description:  
Steps to reproduce:

-> create file foo.txt 
-> select Save As from file menu 
-> type new file name and specify location 
-> do not specify file extension 
-> select OK
Result: 
Saved As model is not a txt file any more, it looks like it is saved as xml file. 

Expected: I think that our user would expect by default Save As should as the original extension.

NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 19:03:01 EST
PRODUCT VERSION:
0.9
@RATL-0.9

Comment 2 Kevin Haaland CLA 2002-02-07 20:03:32 EST
The native file dialogs on Win32 platforms support this. Investigate to see if 
this is possible. Also need to resolve extension definitions known to the 
workbench vs the ones known by the platform. 

Note, on some windows platform you can also specify the encoding which will 
need to be coordiated with the work that others are doing to support encoding 
in editors.  
Comment 3 Randy Giffen CLA 2002-08-08 12:27:35 EDT
Reopen to investigate
Comment 4 Tod Creasey CLA 2002-08-26 11:16:30 EDT
The best choice might be to use the list of extensions defined in the file 
mappings.
Comment 5 Tod Creasey CLA 2002-09-11 15:31:13 EDT
The SaveAsDialog currently takes the extension of the original file and uses 
that.