Open egraether opened 5 years ago
workaround from here:
export QT_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_SCALE_FACTORS=2
With auto scaling and scale factor set to system in Sourcetrail
It may be related to https://bugreports.qt.io/browse/QTBUG-64738.
Check if your Xft.dpi
is an integer via xrdb -query | grep dpi
.
I have a scaling problem too but the Xft.dpi
was not the solution for me.
However by tweaking with QT_SCREEN_SCALE_FACTORS
(thanks to @egraether workaround), I was able to get the correct scaling.
export QT_SCREEN_SCALE_FACTORS=0.5
I already had that kind of scaling problems with other Qt application (namely Calibre and GNS3). IIRC it was during the transition phase of these applications from one version of Qt to another.
Let me know if y'all need more information. I'm not so knowledgeable in Qt and GUIs but I'm highly interested in Sourcetrail and I'd be glad if I can be of some help.
standard UI: menu and status bar scale differently than custom UI