mms: links don't open in totem

Bug #751101 reported by Ivan Sagalaev
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: firefox

Upon clicking (or navigating in any way) an mms: link Firefox asks in which app it should be opened and suggests Totem. However selecting Totem and clicking OK doesn't launch it, saying in console:

    ** (firefox-bin:11187): WARNING **: Could not launch default application for URI: The specified location is not supported

This is happening in Firefox 4 in Natty beta. Firefox: 4.0~rc2+build3+nobinonly-0ubuntu2.
It used to work in Minefield in Maverick and from the look at about:plugins everything seems identical. Also mms: links *do* open from Thunderbird in Natty. I will be happy to do some logging/debugging, just tell me how :-).

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

There's actually multiple bugs here.

The only Firefox bug is that you even get offered to open mms links in totem at all, because totem doesn't have x-scheme-handler/mms defined in its desktop file. Once bug 727372 is fixed, Firefox will (correctly) display an error message saying "Firefox doesn't know how to open this address, because the protocol (mms) isn't associated with any program."

If totem can handle mms links, it needs to declare this in its desktop file (which is a totem bug).

Thunderbird only works because it is still using gnomevfs, which is deprecated anyway and will stop working in the future too (but we will have proper gio support then).

affects: firefox (Ubuntu) → totem (Ubuntu)
Changed in totem (Ubuntu):
importance: Undecided → Low
Revision history for this message
Ivan Sagalaev (isagalaev) wrote :

Chris, thanks for the quick and useful reply!

I've updated Totem's desktop file per your suggestion and it fixed the problem for me locally. Documenting the workaround for anyone who would stumble upon this issue:

- edit /usr/applications/totem.desktop (requires sudo) by adding "x-scheme-handler/mms" at the end of "MimeType" line
- run `sudo update-desktop-database` to update the MIME types cache

Revision history for this message
Arie Skliarouk (skliarie) wrote :

The file to be edited is /usr/share/applications/totem.desktop, but otherwise the workaround works!

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in totem (Ubuntu):
status: New → Confirmed
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Raring Ringtail.
 If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in totem (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.