qbittorrent / qBittorrent

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

Qt 6 column header texts aren't trimmed when column width is narrow #15949

Open redactedscribe opened 2 years ago

redactedscribe commented 2 years ago

qBittorrent & operating system versions

qBittorrent: 4.4.0 x64 Operating system: Windows 11 Pro 21H1 build 22000.376 x64 (10.0.22000) Qt: 6.2.2

What is the problem?

Narrow column example: Progress

In Qt 5: "Progr..." (trimmed correctly) In Qt 6: "gress" (no trimming, word just partially hidden and from the left instead of right)

On a somewhat related note, when switching to the Qt 6 version, not all of my columns were the same as the 4.4.0 Qt 5 version. Some needed re-adding, and all needed re-sizing to achieve the same layout. Ideally column layout would be upgraded from Qt 5 to Qt 6 without needing reconfiguration.

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

thalieht commented 2 years ago

Related to #16542 (source of the problems is the same).