Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35624 - [transmission-qt] doesn't work with double-click on *.torrent files

Attached to Project: Arch Linux
Opened by wujek (wujek.srujek) - Monday, 03 June 2013, 21:33 GMT
Last edited by Anatol Pomozov (anatolik) - Monday, 06 July 2015, 15:42 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ionut Biru (wonder)
Tom Gundersen (tomegun)
Anatol Pomozov (anatolik)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

$ pacman -Q transmission-qt
transmission-qt 2.77-3

The system is fully upgraded.

I installed transmission-qt and am using spacefm. There, when I double-click on a torrent file, transmission-qt opens and it shows a dialog with the file path and directory, but the file is empty and the files in the torrent are not visible (simply speaking, the dialog is broken).
I traced it a bit and transmission-qt is called with an argument 'file:///home/wujek/Downloads/some.torrent', which comes from the /usr/share/applications/transmission-qt.desktop's 'Exec=transmission-qt %U' line (the %U stands for 'all passed arguments as urls). Apparently, transmission-qt cannot handle file:// urls. When the said line is changed to ''Exec=transmission-qt %F' it all works fine.
What is interesting is that transmission-gtk handles file:// urls correctly. It is probably either a bug in transmission-qt or just in the .desktop file (which is added by arch afaik).

Steps to reproduce:
* make sure that transmission-qt is responsible for torrent files
* start spacefm (or probably any other file manager that uses xdg-open) and double-click on a torrent file
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Monday, 06 July 2015, 15:42 GMT
Reason for closing:  Upstream
Comment by Evangelos Foutras (foutrelis) - Tuesday, 04 June 2013, 06:21 GMT
That's the upstream provided desktop file:

https://trac.transmissionbt.com/browser/trunk/qt/transmission-qt.desktop

It used to be %F but was changed to %U to support magnet links:

https://trac.transmissionbt.com/changeset/13679/trunk/qt/transmission-qt.desktop
Comment by wujek (wujek.srujek) - Tuesday, 04 June 2013, 07:31 GMT
But it doesn't work with normal files now ;d Should I issue a bug for upstream or will you be doing this?
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 16 February 2014, 15:03 GMT
  • Field changed: Status (Assigned → Waiting on Response)
status?
Comment by Doug Newgard (Scimmia) - Friday, 30 May 2014, 04:03 GMT
wujek, did you ever ask about this upstream?
Comment by mattia (nTia89) - Saturday, 15 November 2014, 12:57 GMT
I confirm the bug with pcmanfm
anyway if I open .torrent with dolphin transmission-qt shows the right dialog
Comment by Doug Newgard (Scimmia) - Sunday, 05 July 2015, 15:12 GMT
ok then, nTia89, did you ever report this upstream?
Comment by mattia (nTia89) - Monday, 06 July 2015, 08:38 GMT
I haven't report it since I haven't open the bug... unfortunately I can't use (now and for some months) my Arch machine so I can't give you any feedback about it
Comment by Anatol Pomozov (anatolik) - Monday, 06 July 2015, 15:42 GMT
This file comes from upstream. Please talk to upstream about this issue.

Loading...