Red Hat Bugzilla – Bug 799673
transmission-qt.desktop does not provide magnetic link MimeType
Last modified: 2013-02-01 12:03:03 EST
Description of problem:
If I have only transmission-qt installed on my system and I click on a
magnetic link, firefox reports the usual error that it doesn't know
how to handle magnetic links.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install transmission-qt on a xfce environment
2. Start firefox, open favourite torrent site
3. click on magnetic link
firefox errors out.
firefox should recognize transmission-qt as magnetic link handler.
patch in attachment to fix the problem ;)
Created attachment 567372 [details]
PS I can also build/commit if necessary. Please let me know.
Tested on F16 (don't have a Fedora rawhide desktop).
Changing %F to %U is also necessary. Using %f nothing happens. %U is the same var used by trasmission-gtk and brings you straight to the "add" menu.
I am re-assigning the current active maintainer.
The issue is still present in all versions of transmission (rawhide/f18/17/16).
would be very nice to have this fixed.
The patch was done against f16, beside the spec file change, the patch is still valid.
Looks like there are two versions of transmission-qt.desktop, one of which ships with the Fedora package, and another one which is included in the transmission upstream tarball.
It would appear that the desktop file in the upstream tarball already has the x-scheme-handler/magnet mimetype.
I'll update the package to use the upstream desktop file, which should fix the mimetype issue. However, the %F -> %U change might still be needed. Can you verify this and file a ticket with upstream to change %F -> %U if needed?
Upstream issue tracker: https://trac.transmissionbt.com/
(In reply to comment #3)
> Looks like there are two versions of transmission-qt.desktop, one of which
> ships with the Fedora package, and another one which is included in the
> transmission upstream tarball.
> It would appear that the desktop file in the upstream tarball already has
> the x-scheme-handler/magnet mimetype.
> I'll update the package to use the upstream desktop file, which should fix
> the mimetype issue. However, the %F -> %U change might still be needed. Can
> you verify this and file a ticket with upstream to change %F -> %U if needed?
> Upstream issue tracker: https://trac.transmissionbt.com/
I verified that %U is still necessary.
No sorry I won't file a bug upstream as that needs yet another account.
Also, as part of being a packager, you should already be in touch with upstream that would make things a lot easier.
There are other differences in the .desktop that might need revisit, either by fedora or upstream (or both).
[fabbione@jeeg qt]$ diff -u ../../transmission-qt.desktop transmission-qt.desktop
^^ this one probably needs check for how the two packages ship the icon.
+[Desktop Action Minimize]
+_Name=Start Transmission Minimized
^^ I have no idea how this section work. That "OnlyShowIn" sounds very much Ubuntu specific and would have to be checked in Fedora.
transmission-2.76-1.fc18 has been submitted as an update for Fedora 18.
transmission-2.76-1.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing transmission-2.76-1.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
transmission-2.76-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
transmission-2.76-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.