Closed Bug 293990 Opened 20 years ago Closed 20 years ago

"Save Page as..." doesn't save Text files as .txt

Categories

(Firefox :: General, defect)

x86
Windows 98
defect
Not set
trivial

Tracking

()

RESOLVED INVALID

People

(Reporter: greasedbolt, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

When I use the "Save Page as..." Dialog, changing the "Save as TYpe" field to
"Text Files" doesn't change the extension of the file to be saved as ".txt".

Reproducible: Always

Steps to Reproduce:
1.Right click a web page
2.Select "Save page as..."
3.Change "Save as type" to "Text Files"

Actual Results:  
The extension of the filename remains '.htm'.

Expected Results:  
Changed the extension of the filename (in the field 'File Name:') to .txt
Firefox uses the standard Windows file save dialog to save files. Do you get
this behavior in any other program? Seems to me like this is something out of
Mozilla's control.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050512
Firefox/1.0+ ID:2005051215
I see this too. As the reporter says, if I choose File > Save Page As and choose
to save the page as .txt - the generated file is given the file extension .htm
rather than .txt - even tho the contents of the saved file is text (no html).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Actually (thanks gavin!) Notepad and Wordpad work in the same way - in that
changing the save type doesn't automagically change the file extension. Although
some other programs like MS Word do change the file extension, they use a
slightly different file-save dialog.

So since firefox works in the same way as Wordpad/Notepad and as gavin has said,
this is out of Mozilla's control, I mark this bug INVALID.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.