duplicate torrents in the list when adding from the command line

Bug #1241347 reported by Jonathan McDougall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
baretorrent
Fix Committed
Critical
Jonathan McDougall

Bug Description

Starting baretorrent with a torrent on the command line (such as from a browser or opening an associated file) fills the list twice. Switching to another category and back fixes it.

Looks like torrent_list::rebuild() is called from main_window::handle_new_files(), which fills in the entire list, but then the callbacks from libtorrent that torrents were added to the manager are fired, adding duplicate items. I'm not entirely sure what changed, but it's probably related to https://bazaar.launchpad.net/~jonathanmcdougall/baretorrent/trunk/revision/558.

Changed in baretorrent:
milestone: 0.5 → 0.4.4
Revision history for this message
Jonathan McDougall (jonathanmcdougall) wrote :
Changed in baretorrent:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.