1 (edited by Nuri 2018-06-13 06:04:15)

Topic: Wrong GUI scaling on fullHD screen

I am facing a mysterious problem nomicons/getlost 

Yesterday I wanted to make some small changes in a schematics and QET v0.6 opened with a 2x bigger dpi scaling as usual.
At the moment, my productive system is still Ubuntu 16.04 with Unity, FullHD screen (1980x1080px) and QET v0.6.

I've have not used QET since a few weeks so I don't really know when the problem appears.

I have made a system update for a few days and maybe the Qt librairies have been updated, with some bugs?

I have tried to reinstall QET but that brought no solution.
I have installed QET v0.5 from the official Ubuntu repositories and the scaling of the GUI was normal, not 2x bigger as with v0.6.

It's very hard to understand where the problem is. I'm using my PC very rarely at this time, I have not "tuned" any system configuration.

QET v0.6 behaves as it was displayed on a 4K screen, but I only use a fullHD screen.

QET v0.6 behaves normal, with the right DPI scaling on Debian sid with Gnome Shell (same PC, same screen).

Here how it looks on my productive system:

Post's attachments

Attachment icon hidpi_on_fullscreen.png 138.94 kb, 151 downloads since 2018-06-13 

Re: Wrong GUI scaling on fullHD screen

HI Nuri,

Can you check your display resolution ?

1980X1080 is not fulHD but 1920X1080 ( 16:9 )

I am an pre-retired industrial developer technician and born in 1960

Re: Wrong GUI scaling on fullHD screen

Hi Nuri,

see

less /var/log/apt/history.log

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Wrong GUI scaling on fullHD screen

Hi Nuri,

i hope that dit can help you.

xdpyinfo | grep dots

https://www.pcworld.com/article/2911509 … plays.html

You can set the dpi dots and the scaling factor.


use Unity-tweak-tool
https://www.debugpoint.com/2016/05/how- … ial-xerus/

Use gnome-tweak-tool
gnome
https://askubuntu.com/questions/60044/h … i-settings
https://www.onetransistor.eu/2014/09/ch … buntu.html
https://www.makeuseof.com/tag/configure … weak-tool/

I am an pre-retired industrial developer technician and born in 1960

Re: Wrong GUI scaling on fullHD screen

Hi Nuri,

try :

QT_AUTO_SCREEN_SCALE_FACTOR=0 qelectrotech 



http://blog.qt.io/blog/2016/01/26/high- … in-qt-5-6/

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Wrong GUI scaling on fullHD screen

@Re-searcher:
only QElectroTech starts with a wrong dpi scaling. Unity and all other apps are not concerned by the problem.

@Scorpio819:
launching QET with:

QT_AUTO_SCREEN_SCALE_FACTOR=0 qelectrotech

does not help. It makes no changes.
The problem does not occur with QET v0.5
It's very strange, I don't understand.

Re: Wrong GUI scaling on fullHD screen

Hi Nuri,

You can install deb files in ubuntu
https://www.cyberciti.biz/faq/ubuntu-li … -packages/
This is in terminal

I see that you no problems have in debian.
There are two QET v0.6 debian files.
https://qelectrotech.org/download.html
I advise you to take Debian packages and not HiDPI packages.

The file QET v0.5 is also not for Hidpi and it works for you.

I am an pre-retired industrial developer technician and born in 1960

Re: Wrong GUI scaling on fullHD screen

Strange... Today I connected an external FullHD screen to my laptop over HDMI and the problem is gone.
Now the scaling of the GUI of QET is right again.
It seems to be a problem with my system (XrandR options or something like that).

Thanks indeed for your help!