Catapult icon indicating copy to clipboard operation
Catapult copied to clipboard

[Bug] Poor Launcher scaling

Open BettaSplendid opened this issue 4 years ago • 10 comments

## About this report

Essentially this : image

In Ubuntu 20.04.2 LTS, the launcher scaling was pretty terrible without turning on Custom UI scaling in the default. And even then, it did not allow itself to be pinned into the corners or rescalled.

image

Only grabbing it with the windows + left click hold managed to drag it fully into view. I do not know much about making this sort of software, but i believe it could use to have custom UI scaling by default.

BettaSplendid avatar Oct 29 '21 12:10 BettaSplendid

Looks like the OS reports screen DPI incorrectly. What is your resolution, physical display size, and scaling in Gnome?

qrrk avatar Oct 30 '21 14:10 qrrk

I will answer you once i get back to my machine. I don't have access over the weekend.

lbnesquik avatar Oct 30 '21 16:10 lbnesquik

I have two screen, both are 16:9. The first one is a laptop screen : Hp probook 650 g4 - 39.62 cm (15.6 in) diagonal LED-backlit FHD IPS eDP anti-glare LED-backlit, 45% sRGB, 220 nits

The second one is a fixed screen : https://iiyama.com/gl_en/products/prolite-b2483hs-b3/ 1920 x 1080 - 24", 61cm

As for your question regarding scaling in gnome, i am not sure how to find that as i am only a recent user of Ubuntu. I can tell you the display scale is set to 100%.

I hope this help. I'll be around to answer any question.

BettaSplendid avatar Nov 02 '21 08:11 BettaSplendid

So, your primary display is 15.6" and 1366x768 pixels. That works out to 100 DPI (you can check by running xdpyinfo | grep resolution).

I see now. DPI is not the problem here, your screen is just not tall enough (in pixels). The launcher window is too large for it, but it still wants to use 100% scaling because the screen DPI is close to the standard 96 due to its small size.

Just set the scaling to 87.5% and have fun. Sorry, but your setup is kind of an edge case. Not many devices have these low resolutions today. When laying out the UI, I knew something like this would come up, but there was no way to make it more compact and still work well on all scales, so this is how it will have to stay.

qrrk avatar Nov 04 '21 15:11 qrrk

Hi. I've also ended up running into this issue, and i was just as confused when i booted the application for the first time. If it's not possible to fix this issue, would it be possible to include some sort of notice in the readme for this repository informing people about this?

BlueManedHawk avatar May 30 '22 02:05 BlueManedHawk

Perhaps the scale detection logic can check whether the inferred scale makes the window taller than the vertical resolution. It won't be perfect, though, so I am not sure this is worth implementing. Maybe a simple note will indeed be better. For statistics, what is your screen resolution and system UI scale?

qrrk avatar May 30 '22 06:05 qrrk

I'm running at 1080p 16:9 at 60hz. I can't seem to figure out what my system UI scale is.

BlueManedHawk avatar May 31 '22 21:05 BlueManedHawk

Maybe you know what your screen diagonal is? E.g. 17", 22", etc.

qrrk avatar Jun 01 '22 07:06 qrrk

I can't find any information in my system settings, but i measured it and it looks to be a little over 31.5cm w/o bezels and approximately 36cm with bezels (I don't know how this is measured normally)

BlueManedHawk avatar Jun 02 '22 05:06 BlueManedHawk

I have this same problem.

14", 1920 x 1280, scaled 120%

Manjaro:latest-stable, GNOME 43

Launcher refuses to respect DE's Alt-click-drag.

[update]

The weird sizing thing only happened on first run. By quitting out of the launcher (killing it via GNOME's overview), and re-launching, the sizing magically fixed itself. It still refuses to respect the alt-click-drag thing, though.

ParaplegicRacehorse avatar Nov 18 '22 22:11 ParaplegicRacehorse