Closed Bug 649925 Opened 13 years ago Closed 13 years ago

default value for browser.download.saveLinkAsFilenameTimeout set to a too low value

Categories

(Firefox :: File Handling, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 682478

People

(Reporter: bernd.eilers, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0

The default value for browser.download.saveLinkAsFilenameTimeout is 1 second.

You can´t expect any website to be able to respond in such a short time especially not if that website may actually be on another continent etc.

I understand that for the implementation of https://bugzilla.mozilla.org/show_bug.cgi?id=299372 a comprise was made between displaying the save_link_as Dialog fast and displaying the right filename in it.

But the timeout chosen for the compromise is IMHO ridiculous low.

It happens for example on OpenOffice.org bugzilla attachments that save_link_as would always display "attachment.cgi" instead of the real filename.

See for example: http://openoffice.org/bugzilla/show_bug.cgi?id=117163



Could this default value be increased?





Reproducible: Sometimes

Steps to Reproduce:
1. browse to http://openoffice.org/bugzilla/show_bug.cgi?id=117163
2. try save_link_as on the attachment
3 [review]. The save as Dialog will show attachment.cgi because the default timeout is much to low
4. open about:config and increase the value of browser.download.saveLinkAsFilenameTimeout to 10000
5. try save_link_as on the attachment again
6. The right filename is being displayed.
Both bug and work around reproduced on:
Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110414 Firefox/6.0a1
Judging the recent bug 645328, comment 4, and the decision to declare that bug INVALID I will make the same with the current one.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Just setting the default to 2 or 3 seconds instead of just one would help a lot of sites.
Staying with a default of one assumes that the user would like it more that the save as dialog pops up in just one second with the wrong filename than in 2 with the right one. 
Are you really serious about setting this to invalid?
Reopening for 2nd opinion.

May be duplicate of bug 420410.
Status: RESOLVED → REOPENED
Component: File Handling → Download Manager
Ever confirmed: true
Product: Firefox → Toolkit
QA Contact: file.handling → download.manager
Resolution: INVALID → ---
Version: unspecified → Trunk
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Component: Download Manager → File Handling
Product: Toolkit → Firefox
QA Contact: download.manager → file.handling
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.