Closed Bug 297536 Opened 20 years ago Closed 19 years ago

Unable to trigger a file download when left-clicking on downloadable files

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kakadu+bugzilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050612 Firefox/1.0+ daihard: P4/SSE2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050612 Firefox/1.0+ daihard: P4/SSE2

When I left-click on a link to a file that would normally be downloaded, Firefox
generates a modal error dialog and throws the following exception:

Error: [Exception... "'Component does not have requested interface' when calling
method: [nsIFactory::createInstance]"  nsresult: "0x80004002 (NS_NOINTERFACE)" 
location: "<unknown>"  data: no]

Screenshot: http://216.55.161.203/theonekea/images/bugzilla-error-ss_1.jpg
(141K, sorry)
HTTP headers: http://216.55.161.203/theonekea/misc/bugzilla-error-hd_1.txt

I first experienced this bug in the 20050607 trunk build.

Reproducible: Always

Steps to Reproduce:
1. Browse to http://www.kernel.org/
2. Click on the link to the 2.6.11.12 bzipped patch file.
3. Observe the modal error dialog.

Actual Results:  
"/tmp/blahblah could not be saved, because the source file could not be read."

Expected Results:  
The file handling dialog would appear, asking me to either find a program to
open the file with, or to save it to disk, if so configured.

Bug 250157 appears to be related, albeit with a different error message.
Addendum: Right-clicking a downloadable file and selecting Save Link... does do
the right thing and trigger a filepicker for downloading the file.

Middle clicks on the link to the file exhibit the same behaviour as left clicks.
wfm with Mozilla/5.0 (Windows; U; Windows NT 5.2; de-DE; rv:1.8b2) Gecko/20050609

Reporter:
Do you get the same problem with an official Mozilla.org build running in the
Safemode (http://kb.mozillazine.org/Safe_mode) ?

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050613 Firefox/1.0+

Yes.
WFM with:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050612
Firefox/1.0+ ID:2005061214
WFM.  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050612 Firefox/1.0+
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050615 Firefox/1.0+

This bug still exists, both in Normal mode and Safe mode. The above build is
from Prometheus.
NOTE: My window manager is Xfce 4, which runs on top of GTK and GNOME.
WFM when I run Firefox for the first time, get an error after launching Firefox
for the second and every next time.

Workaround: disable or enable an extension, or remove extensions.ini from the
profile and restart Firefox. Repeat this before every restart.
In reply to comment #6: using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8b2) Gecko/20050622 Firefox/1.0+ ID:2005062221
So no Linux, but seems the same as bug 298478
This bug here has nothing to do with bug 298478 (that bug is recent regression
from the 21th/22).
Marking bug WORKSFORME - the problem has now vanished.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.