Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

All downloads on firefox open as "file://" links

  • No replies
  • 0 have this problem
  • 3 views
more options

I am currently using Ubuntu 24.04. I recently switched from the snap ubuntu package to using the firefox APT package. However, I've noticed this really weird issue. Whenever I download a file, it always seems to have the "file://" link or mime type.

Say for example I download an mp4 video, trying to open it via firefox results in a dialog asking me to "select which application i want to open this file link in"

I have tried refreshing firefox, and tried completely removing it from my operating system (a search of my entirety of / showed no traces of anything relating to firefox), but even after a clean install, the issue persisted.

The only way I found that can fix this issue is by using firefox nightly, or using the firefox flatpak. And I'd prefer to not use either.

I was monitoring the browser console, and upon clicking on the file in the downloads list, It seems that firefox gets this error:

Uncaught (in promise) TypeError: defaultButton is undefined

   _setInitialFocusIfNeeded chrome://global/content/elements/dialog.js:318
   _postLoadInit chrome://global/content/elements/dialog.js:332
   connectedCallback chrome://global/content/elements/dialog.js:149

dialog.js:318:9

This error does not occur on firefox nightly.

I believe I have troubleshooted this as much as possible on my end, and I'm unsure of what to do about this. Could I please get a bit of help?

I am currently using Ubuntu 24.04. I recently switched from the snap ubuntu package to using the firefox APT package. However, I've noticed this really weird issue. Whenever I download a file, it always seems to have the "file://" link or mime type. Say for example I download an mp4 video, trying to open it via firefox results in a dialog asking me to "select which application i want to open this file link in" I have tried refreshing firefox, and tried completely removing it from my operating system (a search of my entirety of / showed no traces of anything relating to firefox), but even after a clean install, the issue persisted. The only way I found that can fix this issue is by using firefox nightly, or using the firefox flatpak. And I'd prefer to not use either. I was monitoring the browser console, and upon clicking on the file in the downloads list, It seems that firefox gets this error: Uncaught (in promise) TypeError: defaultButton is undefined _setInitialFocusIfNeeded chrome://global/content/elements/dialog.js:318 _postLoadInit chrome://global/content/elements/dialog.js:332 connectedCallback chrome://global/content/elements/dialog.js:149 dialog.js:318:9 This error does not occur on firefox nightly. I believe I have troubleshooted this as much as possible on my end, and I'm unsure of what to do about this. Could I please get a bit of help?

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.