qbittorrent / qBittorrent

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

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

Open tsweet64 opened 7 months ago

tsweet64 commented 7 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 7 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 7 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 7 months ago

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

thalieht commented 1 month ago

Remove the following line under the [GUI] section in your config file: https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#user-content-Where_does_qBittorrent_save_its_settings

Qt6\TorrentProperties\TrackerListState

ShotaroMendo commented 1 month ago

The line I have in my config file is:

Qt6\TorrentProperties\TrackerListState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\0\0\0\0\v\0\0\0\0\0\0\0\x1\0\0\0\b\0\0\0\x2\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\a\0\0\0\t\0\0\0\n\0\0\0\v\0\0\0\0\0\0\0\x1\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\a\0\0\0\b\0\0\0\x2\0\0\0\t\0\0\0\n\0\0\0\0\0\0\0\0\0\0\x4\xbb\0\0\0\v\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\v\0\0\x1\xbc\0\0\0\x1\0\0\0\0\0\0\0)\0\0\0\x1\0\0\0\0\0\0\0y\0\0\0\x1\0\0\0\0\0\0\0 \0\0\0\x1\0\0\0\0\0\0\0\x46\0\0\0\x1\0\0\0\0\0\0\0%\0\0\0\x1\0\0\0\0\0\0\0_\0\0\0\x1\0\0\0\0\0\0\0\x41\0\0\0\x1\0\0\0\0\0\0\0Q\0\0\0\x1\0\0\0\0\0\0\0x\0\0\0\x1\0\0\0\0\0\0\0i\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)

do I have to remove all ?

besides the problem reported in topic involving the sorting of trackers by clicking on the column title, I also noticed that the up/down arrows on the right side of the tracker servers window don't work.

stalkerok commented 1 month ago

Yes, remove the entire string in its entirety.

ShotaroMendo commented 1 month ago

solved all. thanks