Open url winow gtk and qt on Linux

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
rbomb
Posts: 13
Joined: Sat Jul 30, 2011 11:36 am

Open url winow gtk and qt on Linux

Post by rbomb »

On Windows after 2.72 Transmission QT update my open url changed to like on picture which i like and better is that when i add only hash number then after some time transmission downloads file list and name in paused mode(i use mostly pure hash number for adding torrent), problem is why Linux qt or gtk version do not download file list whe in paused mode?

Transmission is best client for me on Win, Linux etc...
Attachments
openurl
openurl
openurl.png (20.98 KiB) Viewed 11209 times
cfpp2p
Posts: 290
Joined: Sat Aug 08, 2009 3:14 pm

Re: Open url winow gtk and qt on Linux

Post by cfpp2p »

problem is that devs have not incorporated into trunk my patch and QT Windows has (with minor variation).

https://trac.transmissionbt.com/ticket/4808#comment:10
rbomb
Posts: 13
Joined: Sat Jul 30, 2011 11:36 am

Re: Open url winow gtk and qt on Linux

Post by rbomb »

That explains everything, i hope they configure soon same way all that adding hash in open url automatically downloads file list only when in paused mode(start when added disabled). Thanks for hashlist download feature.
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: Open url winow gtk and qt on Linux

Post by rb07 »

cfpp2p wrote:and QT Windows has (with minor variation)
Yep, I used the very simple change shown by cfpp2p to finish the feature I was working on for Transmission-Qt for Windows.

In short: magnets and hashes behave the same way as URLs. All fetch the metadata, even if the torrent is loaded as "paused". No preferences involved.

The other change is in the open panel. I got rid of the one-line-without-options which is the default on T-Qt & T-GTK, I wanted options (where to download, last chance to change pause or not, just like the open torrent file has, priority setting (which I never use since it doesn't work right)).
rbomb
Posts: 13
Joined: Sat Jul 30, 2011 11:36 am

Re: Open url winow gtk and qt on Linux

Post by rbomb »

Lets hope 2.74 fixes this on all platforms because listdownload is remarkable thing for people who needs to select files.
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: Open url winow gtk and qt on Linux

Post by rb07 »

I don't think it will be changed, the developers made clear (in the ticket mentioned by cfpp2p) that they think this feature should not be implemented...

I don't really understand their reasons, they seem to think that pausing magnets after fetching the metadata is some kind of abuse (even made the wrong statement about it being tracker abuse, and a possible ban reason, which is non-sense, since magnets are not used in private trackers).

There's also the fact that users can do the same operation manually; I don't see a good reason for not doing it automatically, in fact, that is why I didn't use cfpp2p's patch, which adds a preference to enable/disable this functionality.
cfpp2p
Posts: 290
Joined: Sat Aug 08, 2009 3:14 pm

Re: Open url winow gtk and qt on Linux

Post by cfpp2p »

rb07's
I used the very simple change shown by cfpp2p
is a little too simple in my opinion. With rb07's simplified patch there is no way to cancel the pause once it is initiated without removing then re-adding a hash or magnet. With my patch pausing then resuming a torrent still in the retrieving metadata state cancels the pause after metadata acquisition. This is useful when there are no peers at the moment and you don't want to wait any longer and just want to go ahead and get the metadata and continue downloading without pausing.

Not having the session prefetchMagnets preference I don't disagree with but we still need tor preFetchMagnet so that we can cancel the pause without removing then re-adding, in my opinion.
cfpp2p
Posts: 290
Joined: Sat Aug 08, 2009 3:14 pm

Re: Open url winow gtk and qt on Linux

Post by cfpp2p »

rb07

I looked at Transmission-Qt Win Transmission-r13582.diff.bz2 and the pause/resume toggle described in my comment above (to interrupt the pause after metadata acquired) is because tr_torrentStop() does not have tor->preFetchMagnet = 0; as my original patch does:

void
tr_torrentStop( tr_torrent * tor )

Code: Select all

 
         tor->isRunning = 0;
         tor->isStopping = 0;
+        tor->preFetchMagnet = 0;
         tr_torrentSetDirty( tor );
         tr_runInEventThread( tor->session, stopTorrent, tor );
perhaps this was on purpose on your part.
rbomb
Posts: 13
Joined: Sat Jul 30, 2011 11:36 am

Re: Open url winow gtk and qt on Linux

Post by rbomb »

rb07 wrote: I don't really understand their reasons, they seem to think that pausing magnets after fetching the metadata is some kind of abuse (even made the wrong statement about it being tracker abuse, and a possible ban reason, which is non-sense, since magnets are not used in private trackers).

There's also the fact that users can do the same operation manually
Yes before i dit it too but it is just annoyng... lets hope someone sleeps sober and adds one of these patches.
rbomb
Posts: 13
Joined: Sat Jul 30, 2011 11:36 am

Re: Open url winow gtk and qt on Linux

Post by rbomb »

One thing i recommend is to keep old simple Open url input field but index will still be downloaded.
rbomb
Posts: 13
Joined: Sat Jul 30, 2011 11:36 am

Re: Open url winow gtk and qt on Linux

Post by rbomb »

Please move this topic to feature request section.

Any news abou 2.74 with Open url dialog for Ubuntu and other OS (should be old default like i said previous post, even other people liked old when i showed them)
Post Reply