Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 11.0.0
-
None
-
Arch Linux
KDE Plasma
-
d1deeb2c0 (11.0)
Description
When applying high DPI scaling, only integer scaling factors are supported unless explicitly overriding with environment variables. For example, on KDE Plasma when applying a global scale of 125% all menus and text are 2x normal size, much larger than the rest of the system.
Looking at the Qt Creator code, it appears to default the HighDpiScaleFactorRoundingPolicy value to Round and switch it to Floor if high DPI isn't enabled. In order to have proper scaling, the QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough environment variable must explicitly be set.
I would propose that PassThrough would be used by default if high DPI is enabled to ensure consistency across the system.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-29501 Allow more configuration of the High DPI rounding policy
-
- Closed
-
- resulted in
-
QDS-10475 Bad quality in 3D view and 2D view
-
- Reported
-