johman10 / flood-for-transmission

A Flood (https://github.com/Flood-UI/flood) clone for Transmission
GNU General Public License v3.0
339 stars 33 forks source link

Details dialog glitches between previously and currently selected torrent #522

Open matthewdias opened 1 year ago

matthewdias commented 1 year ago

When I double click a torrent, close it, and then open another, all the info displayed in the dialog switches back and forth between the two torrents a few times before stabilizing. Sometimes it settles on the wrong one, and I need to try again before I can do any actions.

https://user-images.githubusercontent.com/3302524/223870687-3bdf53cb-5f42-4fca-9c0c-d011279a708f.mov

johman10 commented 1 year ago

@matthewdias I was actually able to reproduce this when using a slower connection. As long as my connection is fast this is not happening.

I think flood for transmission needs some more control over the outgoing requests. I have also noticed that the polling requests end up stacking up when the connection is slower becuase it doesn't check if the previous request has finished. (this hooks into https://github.com/johman10/flood-for-transmission/issues/345)

Either way I will have to look at this at some point. But if you have ideas on how to fix it feel free to contribute!

matthewdias commented 1 year ago

Thanks, I have a feeling the slowness on my end is due to the transmission daemon's single thread being pegged with lots of active torrents. I think I'm switching to qbittorrent so won't contribute myself but happy to help test changes