Opened 13 years ago

Closed 13 years ago

#2197 closed Bug (fixed)

Adding a torrent from a browser sometimes doesn't work

Reported by: charles Owned by: charles
Priority: Normal Milestone: 1.72
Component: GTK+ Client Version: 1.71
Severity: Normal Keywords:
Cc:

Description (last modified by charles)

Downstream ticket reported by Tim Kornhammar

https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/259123

Here are the steps:

  • a copy of Transmission ("copy 1") is already running
  • your browser is set to add torrents by calling "transmission %N"
  • in your browser, you click on a torrent
  • browser downloads it to a temp file
  • browser invokes "transmission /some/tmpfile"
  • copy 2 of transmission starts up
  • copy 2 passes filename to copy 1 via dbus
  • copy 2 exits
  • browser deletes the temporary file
  • copy 1 tries to load the file in, but the browser's deleted it

Solution:

Copy 2 should load the metainfo immediately, and pass that to copy 1. The temporary file is guaranteed to exist until copy 2 exits, and it won't be referenced after that.

Change History (2)

comment:1 Changed 13 years ago by charles

  • Component changed from Qt Client to GTK+ Client
  • Description modified (diff)
  • Status changed from new to assigned

comment:2 Changed 13 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r8669 for 1.72

Note: See TracTickets for help on using tickets.