-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New sidebar min-width leaves a lot of dead screen space #2742
Comments
Thanks for testing the Beta release! @GrumpyBear57 Could you let us know what you think about the font visibility on the DarkBetter theme as well? I'd like to add something to our roadmap before v5.1 is marked as stable this address this feedback! |
There are two options for the main window layout in the general UI settings. We can set the minimum width of the side panel (which defaults to 280px), and the minimum height of the torrent list (which defaults to 300px). The values can be set to any proper value for users' own preference, or left blank to lift the limitation. |
You can add everything here.
I will lower the default minimum side panel width to 200px tomorrow. I just need to test to ensure it's a smooth fit.
This is a really easy fix. @jevenski what do you think about a dropdown menu, with sane values for the table min height? |
A dropdown menu may cause conflicts with drag'n'drop resizing. I'd say we can set the table height to the nearest multiple of the line height on resizing. I think this feature is more in need when using keyboard navigation, when you press the arrow down key all the way down and the table begins to scroll, you'll want a next row to show up in full instead of in half. For mouse navigation, one can scroll the mouse button easily and move the last rows into the center of the table area. If a row is at the end of the table area and not displayed in full, it's probably not the one on concern at the moment. Otherwise just scroll the mouse or drag the scrollbar to move it into the center of the table area. That's an area more confortable to read. |
Sounds good, let's do it! |
To be honest, I don't think this feature is worth the effort. This will add complex calculation to the resize function, and increase the likelihood to break. Besides, different browsers have different behaviors regarding scrollbars. Firefox has floating scrollbars that don't take up the space of an HTML block, while Chrome has fixed scrollbars that take up the space of an HTML block. So what works fine on Firefox will not work as expected on Chrome, because the bottom scrollbar will cover the last row and make it half-shown. We'll have to cover every possible browser if we want this feature to actually work, which is going to further add to the complexity of the resize function. In my opinion, if one wants to look at the half-shown row at the bottom, one just scroll the mouse or drag the touchscreen to bring it to the center of the screen. If one doesn't want to look at the half-shown row, one won't care whether it's shown in half or in full. |
Okay, let's not implement this feature! Maybe can address the contrast issues with the font visibility though. |
Please complete the following tasks.
Tell us about your environment
Browser: Firefox 131.0 (tested in private mode to ensure no cache/extension conflicts)
ruTorrent: git tag
v5.1-beta2
PHP: 7.4.3-4ubuntu2.24
OS: Ubuntu 20.04.6 LTS
Tell us how you installed ruTorrent
git checkout v5.1-beta2
Describe the bug
After updating to v5 beta (and now subsequently v5.1B2, which fixed a couple of my other nitpicks 👍), I noticed that the sidebar (using the DarkBetter theme, if that matters) on the left takes up a ton of extra room now, with no way to decrease the width after a certain point.
Steps to reproduce
No response
Expected behavior
I'd like to be able to shrink the sidebar as much as possible (in v4 I shrunk it so that there was no empty space after the state labels -- see screenshot below), so that I waste less of my screen real estate, allowing me to see more of the many columns of information that ruTorrent can display in the main table :)
Additional context
For example, here's what it looks like with the sidebar as narrow as possible in v5.1B2 on a 1080p display:
vs the sidebar as narrow as possible in v4.2.11 (same 1080p display):
As you can see, in v5, the sidebar extends out to around where the settings button is, whereas in v4, it only just went past the start button.
The text was updated successfully, but these errors were encountered: