Open b-user opened 1 year ago
Only the last line remain selected for me on the next transfer list refresh. It only happens when the subsequent selections are below the last one so I think it's a Qt problem.
there is no such bug with the selection in the "trackers" tab. please remove the label "Qt bugs" because it doesn't look like a "qt bug"
please remove the label "Qt bugs" because it doesn't look like a "qt bug"
Then what does it look like to you?
In my opinion, it looks like a miscalculation in event processing.
In my opinion, it looks like a miscalculation in event processing.
So do you think that this is handled at the application level itself, and not by Qt?
I assume it's in the qBittorrent code. If I thought otherwise, I wouldn't have written "because it doesn't look like a "qt bug"". If you have any reason to say otherwise, say so.
At the moment, I only see such a bug in the torrent tab, and there is no bug in the tracker tab. That's why I made such an assumption.
There are bugs in qt that haven't been fixed for years. But this case is not very similar. At least at first glance.
I tested official 4.2.1 (Qt 5.13.2) (oldest version with support for "profile" folder portable mode) and problem existed back then. I was looking for when transferlist changed to use QStyledItemDelegate (i have no idea if it could be relevant) and luckily that was in 4.2.2.
BTW, multiple items really only look like "focused/selected".
I tested official 4.2.1 (Qt 5.13.2) (oldest version with support for "profile" folder portable mode) and problem existed back then
qbittorrent_4.2.0 - problem existed qbittorrent_4.1.9.1 - problem "don`t"* existed
*it looks like in 4.1.9.1 (4.0.0 .. 4.1.9.1) there was workarround forcibly updating these fields about once a second.
qBittorrent & operating system versions
qBittorrent: 4.5.0 x64 Operating system: Windows 11 (10.0.22xxx) Qt: 6.4.0
What is the problem?
sometimes multiple lines can be selected
Steps to reproduce
result: two lines are selected
EXPECTED result: one line are selected
Additional context
multiple lines can be focused:
No response
Log(s) & preferences file(s)
No response