Open Bug 1202798 Opened 9 years ago Updated 2 years ago

Firefox doesn't save image with long name when I drag it to downloads button

Categories

(Toolkit :: Downloads API, defect)

defect

Tracking

()

Tracking Status
firefox43 --- affected
firefox48 --- affected
firefox49 --- affected
firefox-esr45 --- affected
firefox50 --- affected
firefox51 --- affected

People

(Reporter: arni2033, Unassigned)

References

()

Details

Attachments

(1 file)

STR:   (Win7_64, Nightly 43, 32bit, ID 20150907030206, new profile, safe mode)
1. Open URL
2. Drag image onto downloads button
3. Click downloads button to see the result

Result:       [watch video] Downloads panel says "Failed"
Expectations: Image should be downloaded normally

Alert on the video says "too long file name". I think the problem is that firefox is trying to save image with the original name (it's also shown on the video - last symbols of file name in downloads panel are the same as last symbols of file name in the link).

Note: This link may break any moment, so I expect somebody to make a simpler testcase.
Summary: Firefox doesn't save image with long names when I drag it to downloads button → Firefox doesn't save image with long name when I drag it to downloads button
Oh, I forgot to note here, that if such image is placed on web page, then firefox just saves that image into "WebPageName_files" folder with 60 first letters as a filename of that image. So I expect the same when drag image to downloads button.
Has STR: --- → yes
Comment 0 no longer works. Instead of creating image with a long name you can try another scenario

STR_2:
1. Save this image with name [1]:  https://bugzilla.mozilla.org/skins/contrib/Mozilla/tabzilla.png
2. Create a new folder with name [1] in the root directory. Create subfolder with name [1]
3. Set the subfolder created in Step 2 as default download folder in FF
4. Open file saved in Step 1 in FF, then drag-n-drop tab with that file to downloads button

AR:  Download fails
ER:  File should be saved   (as if I used Ctrl+S and chose the same subfolder from Step 2)

> [1] 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
See Also: → 1327844
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: