nheko icon indicating copy to clipboard operation
nheko copied to clipboard

UI-Scaling 200% results in too-big-to-use layout

Open Cyborgscode opened this issue 1 year ago • 4 comments

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

Cyborgscode avatar Aug 25 '22 16:08 Cyborgscode

I use it at 175, but I mostly agree

the-cave-dweller avatar Aug 28 '22 06:08 the-cave-dweller

Hm, it shouldn't switch to icons only, it should switch to mobile mode, which has no icons only option, I thought.

deepbluev7 avatar Aug 31 '22 17:08 deepbluev7

Believe it :) UI 200% :

20220901_10h40m46s_grim

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

Cyborgscode avatar Sep 01 '22 08:09 Cyborgscode

Chat room at 200%

20220901_10h44m28s_grim

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: 20220901_10h47m54s_grim

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:

  1. Step check env variable for ui scaling
  2. if 200% reduce to 150% let toolkit do the rest.
  3. normal startup.

Cyborgscode avatar Sep 01 '22 08:09 Cyborgscode