Electorrent
Electorrent copied to clipboard
Main windows does not adust the table element correctly when resizing window.
Client:
- [ ] µTorrent
- [X] qBittorrent
- [ ] Transmission
- [ ] rTorrent
Client Version: 4.1.5 Operating System: Gentoo Linux Application Version: 2.5.2 Description: When I resize the window from fullscreen the table element does not snap to the first column (name in this case) it snaps to the second column (size in this case).
I will investigate and see if I can reproduce this error, although I think it might be exclusive to linux based systems.
Does resizing the window afterwards fix the issue?
If I maximize, the columns return to the correct proportions. But simply resizing the window does not.
After some playing around it seems that if the window is of a certain size or smaller (seems to be determined by scaling) the colums resize like one would expect but when columns are being sacrificed for screen real estate, the column that seems to be the "Never get rid of me column" or as Iewmore useful column.) It would be nice if we could specify a priority for which columns should maintain their sizes. That may be asking for too much. Just a fix to have name be the primary column would be nice.
These screenshots ilustrate my point better that I could.
After mucking my way through the JS and friends, I believe the cause of this is in main.less:
.action.header .actions.right { overflow: hidden; width: auto; display: block; }
There seems to be no minimum size constraints on the minumim width, or perhaps it is an issue with overflow... I dunno, these are not my languages of choice.
I will stop poking your issue tracker.
The name column should be the primary column, and work like you describe above. I believe this works on other operating system (maybe the Chrome version on linux is the problem here). You can try other resizing modes in the settings to see if some of them works better for you.
I will have to compare across operating systems to figure this one out. Thanks for taking your time to investigate 👍