Column sorting regression since 4.2.4 #10226

Closed
opened 2026-02-21 20:38:33 -05:00 by deekerman · 2 comments
Owner

Originally created by @SubJunk on GitHub (Apr 22, 2020).

qBittorrent version and Operating System

4.2.4 on Windows 10

What is the problem

If I click one column header and then another one, sorting only happens on the last one. In my case I click on Name then Category.

What is the expected behavior

I expect it to sort the list by category, and by name within category, which is what happened in 4.2.3.

Steps to reproduce

In 4.2.4, confirm the bug by click on the column header for Name, then the column header for Category, and observe that it is only sorting by Category. The Name column appears to be sorted by date added.

In 4.2.3, confirm that it used to work, by repeating the steps and seeing that the secondary sorting works.

Originally created by @SubJunk on GitHub (Apr 22, 2020). ### qBittorrent version and Operating System 4.2.4 on Windows 10 ### What is the problem If I click one column header and then another one, sorting only happens on the last one. In my case I click on `Name` then `Category`. ### What is the expected behavior I expect it to sort the list by category, and by name within category, which is what happened in 4.2.3. ### Steps to reproduce In 4.2.4, confirm the bug by click on the column header for `Name`, then the column header for `Category`, and observe that it is only sorting by `Category`. The `Name` column appears to be sorted by date added. In 4.2.3, confirm that it used to work, by repeating the steps and seeing that the secondary sorting works.
deekerman 2026-02-21 20:38:33 -05:00
Author
Owner

@FranciscoPombal commented on GitHub (Apr 22, 2020):

@glassez I believe you recently fixed/changed something related to this.

@FranciscoPombal commented on GitHub (Apr 22, 2020): @glassez I believe you recently fixed/changed something related to this.
Author
Owner

@glassez commented on GitHub (Apr 23, 2020):

I expect it to sort the list by category, and by name within category, which is what happened in 4.2.3.

qBittorrent v4.2.3 had broken sorting algorithm that is fixed currently. We never provided multi-column sorting (probably it was some kind of side effect). There is only some predefined fallback sorting for equal values in sorting column.

@glassez commented on GitHub (Apr 23, 2020): >I expect it to sort the list by category, and by name within category, which is what happened in 4.2.3. qBittorrent v4.2.3 had broken sorting algorithm that is fixed currently. We never provided multi-column sorting (probably it was some kind of side effect). There is only some predefined fallback sorting for equal values in sorting column.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#10226
No description provided.