Is it just me? IDE seems to be struggling with DPI problems

New to Gambas? Post your questions here. No question is too silly or too simple.
Post Reply
LilyWhite
Newbie
Posts: 3
Joined: Wed May 28, 2025 11:31 am

Is it just me? IDE seems to be struggling with DPI problems

Post by LilyWhite »

I'm using a 3840x2160 screen. It seems that my IDE is mostly working, but the code editor seems to be having problems with HiDPI awareness?

Is this a bug, or a setting I didn't tweak?

Please see the attachment for the screenshot, I'm not sure if it is obvious that the editor part of the IDE is of lower resolution than the rest, but it is.
You do not have the required permissions to view the files attached to this post.
User avatar
thatbruce
Regular
Posts: 312
Joined: Sat Sep 04, 2021 11:29 pm
Location: Sitting at my desk in South Australia

Re: Is it just me? IDE seems to be struggling with DPI problems

Post by thatbruce »

Try a different editor font (or a few). Does that change it?
LilyWhite
Newbie
Posts: 3
Joined: Wed May 28, 2025 11:31 am

Re: Is it just me? IDE seems to be struggling with DPI problems

Post by LilyWhite »

It didn't change after editor font changing.

But I do observe that the font name in the font selector dialog itself is blurry also.
You do not have the required permissions to view the files attached to this post.
LilyWhite
Newbie
Posts: 3
Joined: Wed May 28, 2025 11:31 am

Re: Is it just me? IDE seems to be struggling with DPI problems

Post by LilyWhite »

Solved: Duplicate with https://forum.gambas.one/viewtopic.php? ... +IDE#p7476

Launch with "$ env GB_GUI=gb.qt5 gambas3"
User avatar
BruceSteers
Legend
Posts: 2183
Joined: Thu Jul 23, 2020 5:20 pm
Location: Isle of Wight

Re: Is it just me? IDE seems to be struggling with DPI problems

Post by BruceSteers »

then it's possibly your GTK font settings.

Try the System GTK "Appearance" settings
System/Preferences/Look and Feel/Appearance

perhaps the monitor does not like smoothing?
You do not have the required permissions to view the files attached to this post.
User avatar
thatbruce
Regular
Posts: 312
Joined: Sat Sep 04, 2021 11:29 pm
Location: Sitting at my desk in South Australia

Re: Is it just me? IDE seems to be struggling with DPI problems

Post by thatbruce »

Sometimes I wonder why we persist with gtk. JMPO ;)
JumpyVB
Newbie
Posts: 86
Joined: Fri Sep 11, 2020 9:09 am

Re: Is it just me? IDE seems to be struggling with DPI problems

Post by JumpyVB »

I have experienced similar issues on a 4K display with 200 % scaling. On one linux distro gambas looks crisp only if I start it with qt5 and another one looks crisp only if I start it with qt6. I like how this can be selected by right clicking the gambas taskbar icon, the functionality is baked in the dot desktop file of gambas.
Post Reply