Bug 101488 - shared-mime-info-1.8 causes all browsers to stop opening .swf files
Summary: shared-mime-info-1.8 causes all browsers to stop opening .swf files
Status: RESOLVED NOTOURBUG
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 12:18 UTC by Pacho Ramos
Modified: 2017-06-20 09:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pacho Ramos 2017-06-18 12:18:06 UTC
This has been reported on many different distributions, it seems that since this change:
https://cgit.freedesktop.org/xdg/shared-mime-info/commit/?id=2d385ff07eae60f9d92bf932ed7e95fa94dc276d

Browsers like firefox and chromium are unable to play .swf videos but, instead, they try to download the file but, then, I cannot find any application ready to open them :/

You can see people are workarounding  this issue reverting the change:
https://superuser.com/questions/726789/flash-files-swf-prompts-for-download-instead-of-opening/783451#783451
https://bbs.archlinux.org/viewtopic.php?id=173295&p=2
https://ubuntuforums.org/showthread.php?t=2218732&page=2

But that doesn't seem really "clean" to me :/

Thanks a lot for your help
Comment 1 Bastien Nocera 2017-06-19 22:12:25 UTC
If your browser can't handle aliases, then they're the broken ones, sorry.

Looks like the browser plugin expects an old mime-type, which the browser won't give it. The browser could lie to the plugin when it sees it supports an alias.

In any case, not a problem with the definition. I suggest you file a bug against the separate browsers.
Comment 2 Pacho Ramos 2017-06-20 09:46:25 UTC
They are reported for a long time... but nothing is done on their side :(
https://bugs.chromium.org/p/chromium/issues/detail?id=380347
https://bugzilla.mozilla.org/show_bug.cgi?id=1294930


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.