qbittorrent / qBittorrent

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

UI Column Orientation Issue with High Torrent Count in qBittorrent v5.0.1 #21838

Open IAMSB-0 opened 1 week ago

IAMSB-0 commented 1 week ago

qBittorrent & operating system versions

qBittorrent: 5.0.1 x64 Operating system: Windows 10 Enterprise 23H2 x64 (OS Build 22631.4391)

What is the problem?

When the number of torrents reaches a certain threshold in qBittorrent v5.0.1, the orientation of columns in the Transfers tab changes unexpectedly. This issue specifically affects the Peers and Trackers tabs as well. However, other tabs remain unaffected.

I've attached two screenshots to illustrate the issue:

In Screenshot 1, the columns are aligned properly, but in Screenshot 2, once the torrent count increases, the orientation changes unexpectedly, making it harder to view information consistently.

Expected Behavior: The column orientation should remain consistent regardless of the number of torrents.

Observed Behavior: When a large number of torrents are active, the columns in certain tabs change orientation, making the UI inconsistent.

Screenshots:

Steps to reproduce

  1. Open qBittorrent v5.0.1.
  2. Make your own custom orientation of columns & make sure it does not show the horizontal scroll bar.
  3. Start downloading or seeding a large number of torrents.
  4. Observe the column alignment in the Transfers, Peers, and Trackers tabs.

Additional context

Screenshot 1 Screenshot 2

Log(s) & preferences file(s)

N/A

stalkerok commented 1 week ago

This is the expected behavior. Reduce the “name” column by the scroll size.

IAMSB-0 commented 1 week ago

I used to use qbit 4.6.5 and later versions prior to 5.0 and I did not face this bug in those versions, new version added extra columns (Private) was added in v5.0 maybe, but I have adjusted the size to accommodate that also.

maybe there is a miscommunication. not talking about Vertical Scroll Bar (that's the expected behavior). I'm referring to Horizontal Scroll Bar

Screenshot 1 shows there are no Horizontal Scroll Bar (Yellow marking), there should not be any, cause I have already adjusted the size of qbit UI.

Let's say once I added many torrents and adjust the column size again to fit every column so there are no horizontal scroll bar, however, once I delete few torrents so the Vertical scroll bar does not show, it will always creates a gap like this (" Screenshot 2024-11-14 160540 screenshot") which refers to an unused space, if I adjust it again and add more torrents same thing happens.

stalkerok commented 1 week ago

In 4.6.x the behavior is exactly the same. You need to leave this gap for the side scrollbar so that the bottom scrollbar doesn't appear.

IAMSB-0 commented 1 week ago

My apologies, you are right, I just tried with v4.5.5 (VM) also its the same, but can you tell me why does it behave like this? it does not serve any purpose. Don't you think, those blank space should not be there, if a user already made the adjustments?