Closed Bug 438293 Opened 16 years ago Closed 16 years ago

File name missing from download manager display

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: alicebot, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

Sometimes, the download manager displays only a blank instead of the filename. This happened to me only using FlashGot (not regular save link as), so it's probably a bug in FlashGot too, but I think that the download manager should always display the filename, regardless of the way it was added.

Reproducible: Always

Steps to Reproduce:
1. Install FlashGot
2. Go to http://www.konjak.org/artwork.htm
3. Download the next-to-last image, tango_stand.jpg using the "FlashGot link" context menu item (also happens with FlashGot selection)
4. Wait for the file to finish
Actual Results:  
The filename displayed in the download manager is blank

Expected Results:  
The filename should be tango_stand.jpg
The screenshot shows the bug in action - the blank entries in the download manager are the tango_stand.jpg file.
Does this occur in Safe Mode?
Investigating
(In reply to comment #2)
> Does this occur in Safe Mode?

Not sure, it happens only ocassionally, and I need to work, so I can't run FF in safe mode for extended periods of time.

But it did happen once more - this time, the filesize and website are missing (not sure if it's the same bug or not), and I'm 100% positive that I used the normal download manager (not FlashGot). The screenshot shows that when I tried to download the identical file again, both filesize and website are shown correctly (so I wasn't able to reproduce it).
I've found it.
FlashGot passes its link.description property as the displayName parameter for the download.
Sometimes this description (which is usually the content of the link, or the alt attribute for images) is empty, like in your case.
I'm "fixing" this in FG 1.0.3 (to be released tomorrow) by using the destination file leafName, instead, so mimicking the default download manager behavior.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: