qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
25.92k stars 3.82k forks source link

5.0.0beta1: Unable to sort columns on the Trackers view #20676

Open tsweet64 opened 2 months ago

tsweet64 commented 2 months ago

qBittorrent & operating system versions

qBittorrent: 5.0.0beta1 Operating System: Arch Linux Qt: 6.6.3 Libtorrent: 2.0.10.0

What is the problem?

Since 5.0.0beta1, the trackers list for a torrent is no longer automatically sorted by tier, and it is also impossible to sort a column by clicking on its header (clicking does nothing). This means that trackers are displayed in an arbitrary order image

Expected behavior: Trackers get sorted by tier, or it is possible to sort by any column, just like in the peers view for example. It is my understanding that this should be possible after #19633 but clicking the column does nothing.

Aside from this glitch, I really like the new trackers UI!

Steps to reproduce

  1. Manually add and remove some of the trackers on a torrent
  2. Upgrade to 5.0.0beta

Additional context

I'm willing to test patches, etc, should it be needed.

Log(s) & preferences file(s)

No response

glassez commented 2 months ago

I'm willing to test patches, etc, should it be needed.

Could you just remove saved state of tracker list view from config file? (I do not remember exactly what it is called, but it is not difficult to find it by the keyword Tracker.)

tsweet64 commented 2 months ago

That fixed it, thanks so much!

Feel free to close the issue if you think this isn't a qbittorrent bug (else, maybe something needs to be changed to reset it for others who upgrade?)

stalkerok commented 2 months ago

Windows also has an update issue, after removing the string with TrackerListState it works fine.