Open Bug 602358 Opened 14 years ago Updated 2 years ago

browse file upload box should only show file name that is going to be uploaded

Categories

(Firefox :: File Handling, enhancement)

x86
Windows 7
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: carl, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.13) Gecko/20100914 Firefox/3.5.13 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.13) Gecko/20100914 Firefox/3.5.13 (.NET CLR 3.5.30729)

I understand that starting with firefox 3.5 you can no longer edit what is in the text box for the file upload control due to security reasons.

But the problem is that it attempts to show the full path with the file name which then extends off the text box and you can't read it.  Instead it should show you the name of the file you are about to upload only so that you know you selected the right one.  That's what safari does and I happen to like that feature.

So please instead of showing the full path with the file name, just show the file name.  Otherwise I have to click the text box, cancel the open file dialog, press the end button, and then I can see I had selected the correct file to upload.  Showing just the file name makes this much easier.


Reproducible: Always

Steps to Reproduce:
1.  Click browse button
2.  Select file to upload
3.  Click on text box beside browse button
4.  Hit the Esc key to cancel that
5.  The text box beside browse button now has a cursor in it
6.  Hit the end key and go to the end of the file path
7.  Check that it shows the correct file you had selected in case you had selected the wrong one

Actual Results:  
Longer process then normal just to check I had selected the correct file.

Expected Results:  
After I selected the file I want to upload, it only shows me the file I had selected, not the full path to the file.

I believe that only showing the file name is much more elegant and enables easier checking that the correct file was selected instead of currently showing the entire path which does not allow you to check that you selected the right file.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.