Closed Bug 1108470 Opened 10 years ago Closed 9 years ago

Firefox open all downloaded files with vlc

Categories

(Firefox :: Untriaged, defect)

34 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: legluondunet, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0
Build ID: 20141127111021

Steps to reproduce:

open a file on the web (torrent, archive...)


Actual results:

Firefox show me the dialog box open with VLC, for all extension files.


Expected results:

for torrent I should obtain "open with Transmission, for archives: open with fileroller...".
I uninstall VLC and Firefox does not show open with field...only save as...
In the "preferences" "applications" all association is normal. 
If I launch Firefox with a new profile, the bug is still here...
If I try to open a torrent or archive file from nautilus, it opens with the right application.
Thanks for your help.
When I try to download an archive (zip, tz, èzip....) from a web page, the firefox dialog box appears and purpose me to open with VLC. If I choose "other", open the archive with "/usr/bin/file-roller", FIrefox does not remember the other app for the next time and always purpose me to open archive with VLC, no "other" history recorded.
I'm using official  Firefox version from Ubuntu 14.04.
If I launch firefox from a terminal, I click on an file url (archives, torrent....) I obtain this line:
[ConvConfHandler] isPreferred contentType: application/octet-stream
The default applications depend on your settings/preferences under "Applications" and this is not something that is by default included in the codebase of Firefox.
Hence this is a support request (changing the settings). Support is provided on http://support.mozilla.com/ - please take a look there and browse through the existing answers or ask a new question. Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
"The default applications depend on your settings/preferences under "Applications" and this is not something that is by default included in the codebase of Firefox."

I know that and like I said in my last comments, the firefox applications settings are correct: it indicates torrent extension files should open with transmission, tar.gz open with file-roller etc...But when I click on a webpage o na file, firefox purpose me to open with VLC, anyway the extension's file. 
If I use a new profile, I obtain the same result...until I uninstall VLC.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Thanks for taking the time to report this!
Does this also happen with a new and empty profile? See http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile and http://support.mozilla.org/kb/Managing%20profiles

I still don't see why that should be a problem with or bug in Firefox. I rather expect some bug in Ubuntu or the user configuration. Also see http://askubuntu.com/questions/496270/why-all-my-firefox-downloads-are-opened-by-vlc
Flags: needinfo?(legluondunet)
(In reply to Le Gluon du Net from comment #3)
> If I launch firefox from a terminal, I click on an file url (archives,
> torrent....) I obtain this line:
> [ConvConfHandler] isPreferred contentType: application/octet-stream

Ah, the joy of mimetypes. We store associations per mimetype. Somehow vlc got stored there. I don't think we normally save associations for application/octet-stream (so I'm not sure how VLC got stored there, but it's probably difficult to find out at this point), and now you're stuck on this for anything that pretends torrents are application/octet-stream (which is wrong, but nevermind that).

See e.g. bug 332690, bug 373621, bug 649321, ...

It seems that line is generated by videodownloadhelper. Try uninstalling that and seeing if that fixes the problem. Otherwise, the easiest way to fix the problem you're having right now is likely to be to trash/move the mimeTypes.rdf file in your profile (see about:support to quickly figure out where that folder is).

If neither of those help, please needinfo me on this bug and we can dive in some more.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago9 years ago
Depends on: 332690
Resolution: --- → INVALID
in the file /home/my_profile_name/.local/share/applications/mimeapps.list, 

I had this line:

application/octet-stream=vlc.desktop;

I erased "vlc.desktop" and it seems to resolve my problem.

Thank you for your help.
Flags: needinfo?(legluondunet)
You need to log in before you can comment on or make changes to this bug.