Bug 2592 - [Dialogs] SaveAs dialog should provide file types (extensions) for the file to be saved. (1GGYUAS)
Summary: [Dialogs] SaveAs dialog should provide file types (extensions) for the file t...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows All
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2001-10-10 22:39 EDT by Greg Adams CLA
Modified: 2002-09-11 15:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.