Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0
-
None
-
Manjaro Linux (Arch derivative)
Xfce4
-
e33532e048fa12ee32429ca83ee31aa8f065147d (qttools/5.6, 15.4.2016. 5.6.1)
Description
Almost all UI elements are scaled incorrectly, i.e. appear way too large, rendering Qt Assistant unusable starting with 5.6.0. Commenting/removing the following line at the beginning of the main function fixes the issue:
src/assistant/main.cpp
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
It appears like this is not only a bug in Assistant, but Qt failing to recognise the correct DPI. Assistant just seems to be the only qt-tool that enables auto scaling by default.
Screens: 1, High DPI scaling: inactive
# 0 "eDP1" Depth: 24 Primary: yes
Geometry: 1920x1080+0+0 Available: 1920x1055+0+0
Physical size: 290x170 mm Refresh: 60 Hz Power state: 0
Physical DPI: 168.166,161.365 Logical DPI: 101,101 Subpixel_None
DevicePixelRatio: 1 Pixel density: 2
Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
Attachments
Issue Links
- relates to
-
QTBUG-51917 Assistant: icons are scaled and font size is too small
- Reported
- resulted from
-
QTBUG-50698 Qt 5.6: Documentation fonts in Qt Assistant are too small on High DPI screens.
- Closed