[10.6] Clicking an existing file in the Save As dialog to pre-fill filename omits file extension




9 years ago
7 years ago


(Reporter: tkh212+bugzilla, Unassigned)


Firefox Tracking Flags

(Not tracked)



(1 attachment)



9 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20090824 Firefox/3.5.3
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20090824 Firefox/3.5.3

Using Snow Leopard (Mac OS X 10.6.1) and the latest builds of Firefox (3.x), if you click on an existing file in the "Save As" file picker dialog box, it fills that filename in to the filename text box, but without the file extension.  For example, if you click on a file called "example.html" in the Save As file picker, the "file name" textbox will say "example", instead of "example.html".  Clicking the "Save" button goes ahead and saves the file with no extension.  This affects both using File->Save As... on a web page as well as any sort of file download.

This bug only occurs on Snow Leopard (10.6); the file picker still behaves as expected under Leopard (i.e. it fills in the entire filename, including the extension).  I have verified this bug with Firefox 3.0.14, 3.5.3, 3.5.4pre (2009-09-26), and the 2009-09-26 nightly builds (both latest-mozilla-1.9.2 and latest-mozilla-central), all with completely fresh profiles, no extensions or themes.  The bug also occurs using Seamonkey 2.0 Beta 2, but it does not occur on 1.8.x branch products (such as Firefox and Seamonkey 1.1.18).

Reproducible: Always

Steps to Reproduce:
1. Navigate to any website (such as www.mozilla.org) using Firefox 3.x on Mac OS X 10.6 (Snow Leopard).
2. Go to the File menu and choose the "Save As..." command (or press Cmd-S).
3. In the file picker, click on the name of an existing file in any directory on the system (you may have to click the blue arrow to make the Save As dialog full-size).
Actual Results:  
The "Save As:" textbox will contain the name of the file selected, but without the file extension.

Expected Results:  
The "Save As:" textbox should contain the complete name of the file selected, including the file extension.

Comment 1

9 years ago
Created attachment 403077 [details]
Screenshot of Save As dialog

This screenshot shows what the Save As filepicker dialog looks like after clicking the filename "firefoxsavetest.html" shown in the current directory.  Note that the "Save As:" textbox at the top only contains the text "firefoxsavetest", not the text "firefoxsavetest.html".  Using earlier versions of Mac OS X it does contain the full filename.
Confirming. I do see this with existing files, but when I just try to save a page with a new name it does show the file extension. Using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2b1pre) Gecko/20090928 Namoroka/3.6b1pre and 3.5.3.
Ever confirmed: true

Comment 3

9 years ago
Confirming as well.

Comment 4

9 years ago
Confirming here too.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-AU; rv: Gecko/20100722 Firefox/3.6.8

Is there a workaround for this, other than typing the extension every time? This is vexing for me.

Comment 5

7 years ago
Still a problem.  A fix would be greatly appreciated!  Thank you.

Firefox 8.0.1;  Mac OS X 10.6.8;  Intel MacBook Pro

Comment 6

7 years ago
Fix:  Upgrade to Mac OS X 10.7.2

Although I would say it still doesn't work quite right.  When saving a pdf file, for example, clicking on another pdf file retains the pdf extension; however, clicking on any other type of file (e.g., .dmg) replaces the extension with the new file type.  Any reason why it can't retain the original?  I can see both techniques being useful, so a new preference setting?

The issue mentioned by Marcia above also still exists:  when saving under a new name, the extension will not be automatically added.

Thanks again.

Firefox 7.0.1 & 8.0.1;  Mac OS X 10.7.2;  Intel Core i5 Mac mini
You need to log in before you can comment on or make changes to this bug.