Save file / rename file annoyance

UNCONFIRMED
Unassigned

Status

()

Toolkit
Downloads API
--
minor
UNCONFIRMED
10 years ago
10 years ago

People

(Reporter: Olivier Parent, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: DUPEME)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9) Gecko/2008051206 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9) Gecko/2008051206 Firefox/3.0

Minor annoyance and inconsistency when saving the same file twice. Needs extra action to rename the existing file and save the latest one.

Reproducible: Always

Steps to Reproduce:
1. goto http://www.mozilla.org/
2. Download the Firefox/Thunderbird logo ( http://www.mozilla.org/images/feature-logos1.png)
   by right clicking and then "Save image as..."
3. Save it on your file system
4. Download the same file again.
5. A dialog window prompts "feature-logos1.png already exists. Do you want to overwrite ?"
   Reply no.
6. Search for the downloaded file in the explorer view from the download dialog and rename it to "feature-logos1.old.png"
  The name in the "File name" textfield has not changed, it is still "feature-logos1.png"
7. Click the "Save" button.


Actual Results:  
The dialog window prompts again and reads "feature-logos1.old.png already exists. Do you want to overwrite ?"


Expected Results:  
It should simply save the file as "feature-logos1.png".


Workaround: click the "feature-logos1.old.png", it replaces the file name in the textfield, rename it to "feature-logos1.png" in the textfield.
and click "Save."

Note: the bug is reproducible any kind of file

Anyway, it seems that a listener does capture the file renaming event, update some internal representation (as the final dialog shows), but does not update the "File Name" textfield.

For consistency, it should either udpdate accordingly the "File Name" textfield or use the "File Name" textfield content as the actual file name.

Updated

10 years ago
Whiteboard: DUPEME
(Assignee)

Updated

10 years ago
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.