Closed Bug 481666 Opened 16 years ago Closed 16 years ago

Unable to cancel file upload selection after making an incorrect choice

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 431098

People

(Reporter: jmcnally, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070731 Ubuntu/dapper-security Firefox/1.5.0.12 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729) In prior releases the file upload widget included an editable text field, so if a user changed their mind about wanting to upload a file, they could erase the contents of the text field. With the change in Firefox 3 to require the use of a file dialog, it is no longer possible for the user to change their mind. Google Chrome has a similar file dialog, but if the user presses Cancel, then the previous choice is removed. In Firefox 3, if the user picks Cancel in the file dialog, the previous choice remains selected. And there does not appear to be any other way to get the file upload path unselected. Please restore the ability to cancel the file upload as it does not appear to be related to the security issue which was fixed by the removal of the ability to edit the text field. Reproducible: Always Steps to Reproduce: 1. Enter your life history into several other form fields (optional) 2. Click the text field or browse button on a file upload form widget. 3. Select a file and click Open 4. Change your mind and decide to enter the form without uploading a file. Actual Results: You are stuck with the selection or having to re-enter the other data after abandoning the page. Expected Results: Should have the same ability to change my mind about the file upload as I do about any other optional field in the form. One possibility is to allow the user to hit Cancel in the file dialog and actually have it Cancel.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Component: File Handling → Layout: Form Controls
Product: Firefox → Core
QA Contact: file.handling → layout.form-controls
You need to log in before you can comment on or make changes to this bug.