qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

UI elements (column widths, visibility, etc.) are reset when upgrading to Qt6 version

Open dpetroff opened this issue 2 years ago • 16 comments

qBittorrent & operating system versions

qBittorrent: 4.4.3 x64 OS: Windows 10 Qt: 6.3.0

What is the problem?

Some time after switching to the Qt6 version, I noticed that the UI has been entirely reset and the columns have become too narrow to see file names in the content tab and add torrent dialog: image

Similarly, the Added On column was removed from the torrent list.

Steps to reproduce

  1. Using the Qt 5 version: resize the columns in the torrent list and content tab/add torrent dialog.
  2. Add the Added On column to the torrent list
  3. Use the Qt6 version to see the UI reset and squashed

Additional context

I'm not completely sure if this happened immediately when I upgraded or after some time. I certainly didn't notice it for a few days, though I didn't really use qBittorrent until today either.

Log(s) & preferences file(s)

Logs only contain networking messages and I can't be bothered to anonymise.

dpetroff avatar Jun 01 '22 19:06 dpetroff

I experienced this problem as well. It's one thing to have all the columns reset and then deselect all the ones I don't want to see (again), but I can't adjust the width either! So, the name of my downloads are very squished yet other columns with tiny data, like a single symbol, are the width. The current behavior is literally resolution width / column count.

qBittorrent v4.4.3.1 Plasma 5.25.0 KDE Frameworks 5.95.0 Qt 5.15.5

Same re the lock columns regards resizing qBittorrent v4.4.3.1 Plasma 5.24.5 KDE Frameworks 5.95.0 Qt 5.15.5

certainlysylvia avatar Jun 26 '22 02:06 certainlysylvia

Can this be prioritized? I've had to switch between qt5 and qt6 builds recently because of RSS issues I was dealing with in #16879. All these columns have a minimum size that is way too large to show anything reasonably well in the client.

txtsd avatar Jun 26 '22 10:06 txtsd

The issue is even worse than OP makes it out to be because you can't even resize the columns anymore! You literally cannot even see the filenames unless you remove a whole bunch of columns but even then the UI is still messed up.

nick-s-b avatar Jul 03 '22 07:07 nick-s-b

any progress on this? it's really annoying that I can't resize the columns at all.

https://user-images.githubusercontent.com/51754973/184735041-3aefe947-536d-402e-8425-ccace58d0ea6.mp4

mohad12211 avatar Aug 15 '22 23:08 mohad12211

Seems like this is working correctly again for me. Can everyone re-check, please?

qBittorrent: 4.4.5
Qt: 6.3.1
Libtorrent: 2.0.7.0
Boost: 1.79.0
OpenSSL: 1.1.1q
zlib: 1.2.12

txtsd avatar Sep 01 '22 11:09 txtsd

same issue here, archlinux with dwm as window manger

https://user-images.githubusercontent.com/51754973/187901889-b5e78cb4-e401-44d4-9887-fe5af91a6815.mp4

mohad12211 avatar Sep 01 '22 11:09 mohad12211

@mohad12211 Strange. Do you use qt5ct/qt6ct by any chance?

txtsd avatar Sep 01 '22 11:09 txtsd

non of them are installed on my system. @txtsd

mohad12211 avatar Sep 01 '22 11:09 mohad12211

Actually, some of the column labels are missing for me from the Trackers and Content tabs.

And the last column in the Content tab freaks out by resizing to maximum width whenever resizing any column in that tab.

txtsd avatar Sep 01 '22 11:09 txtsd

I just installed 4.4.5.10 (QT6, Win11) and reizing of columns feature is locked.

I tried to solve the issue by deleting the entries in profile\qBittorrent\config\qBittorrent.ini file one by one. And found:

  • Qt6\TransferList\HeaderState=".................."

If you are have same issue, you can try to delete the quotation marks (initial and finally) of this entry in qBittorrent.ini file.

PureOcean avatar Sep 03 '22 17:09 PureOcean

@PureOcean Thank you so much!!!!

mohad12211 avatar Sep 03 '22 17:09 mohad12211

I just installed 4.4.5.10 (QT6, Win11) and reizing of columns feature is locked.

I tried to solve the issue by deleting the entries in profile\qBittorrent\config\qBittorrent.ini file one by one. And found:

* `Qt6\TransferList\HeaderState=".................."`

If you are have same issue, you can try to delete the quotation marks (initial and finally) of this entry in qBittorrent.ini file.

This worked for me! If you're using Linux, instead of qBittorrent.ini you should look for $HOME/.config/qBittorrent/qBittorrent.conf.

alexbraga avatar Sep 05 '22 02:09 alexbraga

If you're using Linux, instead of qBittorrent.ini you should look for $HOME/.config/qBittorrent/qBittorrent.conf.

What to do with this format?

Qt6\TransferList\HeaderState=@ByteArray(\0\0\0\xff\0\0\0\0\...

gwarser avatar Sep 07 '22 12:09 gwarser

@gwarser Close qBittorrent, delete the line, open qBittorrent.

txtsd avatar Sep 08 '22 05:09 txtsd

Thanks, this worked. Some are still bit to wide (ratio, availability for ex.), but good enough.

gwarser avatar Sep 08 '22 06:09 gwarser