Closed Bug 500409 Opened 16 years ago Closed 16 years ago

Input type=file, canceling file upload dialog removes previous selection.

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: p.chwiej, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090624 Minefield/3.6a1pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090624 Minefield/3.6a1pre <input type="file" style="height: 20px;" size="50"/> Reproducible: Always Steps to Reproduce: 1. Open attached TC or disable flash and visit imageshack.us 2. Click Browse button. 3. Select some file and click Open. 4. Click Browse button again. 5. Click Cancel. Actual Results: Previous selection is removed, input field content is erased. Expected Results: Input field content shouldn't be changed as the dialog was canceled. It was working like that in previous versions.
Attached file TC
This seems by design. Please read Bug 431098.
Component: General → Layout: Form Controls
OS: Linux → All
Product: Firefox → Core
QA Contact: general → layout.form-controls
Hardware: x86 → All
Version: unspecified → Trunk
marking invalid because it's by design = no bug
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
I think the consensus was in bug 431098 that this is not desirable behavior. There may be differing opinions though on whether this bug or bug 431098 is worse. As bug 431098 is marked fixed, we should keep this bug open to track finding a better solution.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 503416
Status: NEW → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: