Page 1 of 1

Sorting of columns in the "TRACKERS" tab.

Posted: Fri Dec 01, 2023 4:29 pm
by qbittfun2023
Hi,
I have a request, is it possible to add a function to sort the columns in the "Trackers" tab?
Sorting together non-working or working trackers, would make it very easy to delete them.
Image

Re: Sorting of columns in the "TRACKERS" tab.

Posted: Fri Dec 01, 2023 8:42 pm
by Peter
I tried doing this.
It's not easy to implement AT ALL. Like it's really really really complicated and gets messed up real fast.
Why, you ask?

Because of tracker tiers.
You see those two arrows on the right? The ones I never noticed? Yes. Those.
If you implement sortable columns, tier changing functionality breaks.

Obviously some Qt / C++ magician could add this but looks are deceiving.
I tried messing around but no dice; it was beyond my technical skills.
One would have to know the quirks of Qt, learn how it all ties together in Qbittorrent and then come up with a solution that works.

Re: Sorting of columns in the "TRACKERS" tab.

Posted: Mon Dec 04, 2023 8:46 pm
by bob2306
There's a risk that you could remove trackers that are only temporarily down or unreachable, potentially ending-up with no usable trackers. The benefit of removing dead trackers is so small that I don't see the attraction.