nheko
nheko copied to clipboard
UI-Scaling 200% results in too-big-to-use layout
Describe the bug
DE: Phosh OS: Fedora Rawhide Release: nheko-0.10.0-2.fc38.aarch64
Problem:
The normal UI-Scaling state for Phosh is 200%.
This leads to several problems, as :
- Login/Register Window to big to reach buttons!
- List of Channel too big for namestrings, just icons visible
- Channelcontent: just last message visible
- aso
I suggest to:
a) recalculate the windowsize of the login/register window b) ignore the 200% and recalc the ui to 150% which makes if useable, but not to small to use.
To Reproduce
Starting and registering the account shows all those problems
What happened?
s.a.
Expected behavior
s.a.
Screenshots
No response
Version
0.10.0-2
Operating system
Linux
Installation method
Some repository (AUR, homebrew, distribution repository, PPA, etc)
Qt version
No response
C++ compiler
No response
Desktop Environment
phosh
Did you use profiles?
- [ ] Profiles used?
Relevant log output
No response
Backtrace
No response
I use it at 175, but I mostly agree
Hm, it shouldn't switch to icons only, it should switch to mobile mode, which has no icons only option, I thought.
Believe it :) UI 200% :

Possible reason: text is not visible, because it's far out right, as the login button was on the registry context window.
Chat room at 200%

As the title area of the room with it's description is totally pointless for most people, I would drastically reduce it's hight and content to Back Icon - Symbol - Name in 150% scaled sizes instead of 200%. This would give room to the content and the osk, which is necessary as you can see here:

There is next to no space left on the screen to see, what the other chatter wrote.
And yes, i can image that it's very hard to solve this, as the scaling is done by the window toolkit.
Solution:
main.c -> main function:
- Step check env variable for ui scaling
- if 200% reduce to 150% let toolkit do the rest.
- normal startup.