Open GoogleCodeExporter opened 9 years ago
I reproduced it, it's strange, it should work.
The problem seems to be with libunique, which transmission-remote-gtk uses to
pass filenames to the first instance. The second instance seems to send the URI
in the message, but the first instance receives an empty libunique message
without the URI. I had a brief chat with the libunique guy about this, he said
it should take care of the encoding and I don't need to... I think this could
be a bug I should report.
A new instance will work fine because it doesn't use libunique.
Original comment by a...@eth0.org.uk
on 26 Nov 2011 at 4:15
This problem still occurs.
I attach one torrent file with this problem (I've changed the URL of tracker,
it's a private tracker).
Original comment by si...@j1s.es
on 5 May 2012 at 11:45
Attachments:
I have found this link, perhaps it can help you:
http://developer.gnome.org/gtk3/3.3/gtk-migrating-GtkApplication.html
(Migrating from libunique to GApplication or GtkApplication)
Original comment by si...@j1s.es
on 25 May 2012 at 11:35
In the main site of this library it says "Unique is now in maintenance mode,
and its usage is strongly discouraged."
Original comment by si...@j1s.es
on 25 May 2012 at 11:37
Yes, aware of this, and the support for GtkApplication is already there. If you
built with GTK3 support, it will be using GtkApplication. If you built against
GTK2 it will be using libunique, so support for it will be there as long as I
want to support GTK2 (probably for quite some time still).
GtkApplication isn't present in GTK 2, and libunique won't work in GTK3.
There's also a third method for win32 I wrote, unfortunately, as neither
libunique or GtkApplication on GTK2/3 will work on that.
I'll look at this when I have time.
Original comment by a...@eth0.org.uk
on 25 May 2012 at 11:49
I have downloaded the source from git repository again to compile it from
scratch.
I have uninstalled libunique-dev but I have installed libunique-3.0-dev (from
gtk+-3).
When I execute "configure":
....
checking for unique... no
configure: WARNING: libunique is required for opening torrents on gtk+-2.0. not
needed for gtk+-3.0 or win32.
....
I use Ubuntu 12.04 64 bits with gnome shell 3.4 and it uses gtk+-3.
But if I don't install the libunique-dev library, it opens a new instance for
every torrent.
This message is erroneous or it isn't well implemented.
Original comment by si...@j1s.es
on 25 May 2012 at 11:49
Sorry, I didn't see the option: "--enable-gtk3" in configure.
Ok, I have compiled with this option and without libunique. Now it works well
even with torrents with latin characters. :-)
I think this bug can close.
Thanks again for your work.
Original comment by si...@j1s.es
on 25 May 2012 at 11:53
I'll leave it open as I'd like to fix this for GTK2 users (most people). Let me
know how GTK3 support works. I encountered an issue with changing treeview
selection crashing, which I think is a GTK3 bug.
If it happens to you please open a new issue with a backtrace.
Original comment by a...@eth0.org.uk
on 25 May 2012 at 12:12
ok.
The treeview change is when I select different trackers, folders and/or states
of torrent, no?
Original comment by si...@j1s.es
on 25 May 2012 at 12:14
I only ever saw it with the torrent tree view actually.
I suspect it has something to do with the stacking of the filtered and sorted
models.
Original comment by a...@eth0.org.uk
on 27 May 2012 at 12:32
Original issue reported on code.google.com by
si...@simonbcn.net
on 27 Oct 2011 at 2:08Attachments: