settings dialog wastes an enormous amount of screen space
foresto opened this issue · comments
Describe the bug
The settings dialog in v0.12.0 lays out its items with excessive empty space between them, such that small window sizes can only show 2-4 items at a time. This makes viewing or updating Nheko's configuration tedious.
Earlier versions were somewhat wasteful of space, but not nearly as much as in v0.12.0.
To Reproduce
- Adjust Nehko's window to a relatively small size, such as 580x700.
- Open the Settings panel.
- Scroll through the settings.
What happened?
Few items can be seen at once, and a lot of scrolling is required to get through them all.
Expected behavior
More space dedicated to settings, rather than wasted on empty areas.
Screenshots
Example with v0.12.0:
It's not quite as bad in v0.11.3, which can show more settings at even smaller window sizes:
Version
0.12.0
Operating system
Linux
Installation method
Local build
Qt version
org.kde.Sdk 6.6 flathub
C++ compiler
whatever the flatpak manifest uses
Desktop Environment
KDE Plasma 5.27.5 (debian)
Did you use profiles?
- Profiles used?
Relevant log output
No response
Backtrace
No response
Hm, that is quite weird, I don't have that spacing... Can you show a screenshot of how it looks when you have Nheko in a wider window?
In case it matters, I'm in an X11 session, and have the host system's KDE 5 desktop set to use application style: Breeze, Plasma style: Breeze Dark Flat. I don't know how this affects nheko running in a flatpak.
So for some reason your spacing between items is much larger already even with a wide window than it is on my system. No idea why yet though.
Is yours spaced more like my v0.11.3 screen shot?
How strange.
Are you using Freedesktop's KDE 6 runtime? (I am.)
I tried switching from X11 to Wayland, but it didn't make a difference.
This was a native build with and without KDE themes.
Hm... The previous Nheko version seems unaffected by this problem, so I guess it could be something specific to Qt 6. I wonder if there's something wrong with the KDE 6 themes or Qt 6 styles in the Freedesktop (Flatpak) runtime.
I tested the other two installed styles, by running with -style Windows
and -style Fusion
, but neither of those made a difference.