Page 1 of 1

Linux HiDPI-Support

Posted: 16 May 2018, 19:01
by Bebef
Hello

I have a new computer with a HiDPI-Display running Linux. Unfortunately, the dialogs don't resize, but all the text and boxes etc. do, so it becomes unusable. I thought I give wine a shot and use the Windows version. It looks a bit better, but the dialog windows still are to small (altough it is a bit better than the native linux version).

Cheers

Bebef

Re: Linux HiDPI-Support

Posted: 16 May 2018, 20:04
by han.k
Hello Bebef,

Could you indicate the resolution of your screen, the DPI settings and make some screen shots of the dialogs? This problem is new for me but I use a old 1920x1080 monitor. 4k seem standard these days, so yes maybe it is time to adapt.

Han

Re: Linux HiDPI-Support

Posted: 16 May 2018, 20:53
by han.k
I have compiled version 4.0.0h for Linux with a Lazarus compiler option Hi-DPI. This option is new and haven't tried it. Does it makes any difference?

I will do the same for the Windows version (4.0.0h1) in the next hour.

Han

Re: Linux HiDPI-Support

Posted: 19 May 2018, 10:56
by Bebef
Hi Han,

thanks for looking into this so quickly :D

It's looking better right now on Linux, I can see the full settings dialouge. Some things still look a bit off, as the map doesn't stretch with the dialouge box. Also, all elements on the screen (like icons etc.) are still pretty small. I have created and uploaded a few screenshots:

https://pasteboard.co/HlSiZWP.png
https://pasteboard.co/HlSj8PB.png
https://pasteboard.co/HlSjgCC.png
https://pasteboard.co/HlSjoxP.png

Oddly enough, the Windows version in wine looks better than the native linux version ;)

I'm running a 3200x1800 resolution, set to 192 DPI.

Cheers

Bebef

Re: Linux HiDPI-Support

Posted: 19 May 2018, 11:18
by han.k
Okay, I see I have to improve some things in the menus. At least the map looks good. Give me a few days. First I have to do some other things.

Han