Display Scaling on Windows in Qt6 Builds is Broken #4552
Labels
bug
Something isn't working as intended, or works in a confusing/unintuitive way for the user
high dpi
OS: Windows
qt6
Issues related to our migration to qt6
Milestone
Checklist
Describe your issue
When using display scaling on Windows (for high-dpi monitors), Chatterino itself will be scaled (even though on Windows, it compensates for high-dpi). I'm pretty sure this is because
Qt::AA_DisableHighDpiScaling
was removed (it still exists, but doesn't have any effect). The new documentation on high-dpi doesn't mention any application-attribute that can be set. As far as I know, display-scaling on macOS and Linux is done "correctly". Something to keep in mind is that on Windows, a lot of native events are consumed that use native (non-scaled) coordinates.A not-so-great-but-working workaround is this:
Not that
QT_ENABLE_HIGHDPI_SCALING
is described as "This variable is intended for testing purposes only, and we do not recommend setting it on a permanent basis.".Screenshots
OS and Chatterino Version
Chatterino Nightly 2.4.2 (commit 20bdfae) built on 2023-04-16 with Qt 6.5.0, Windows SDK, MSVC 193431943, Crashpad Running on Windows 10 Version 22H2, kernel: 10.0.19045
The text was updated successfully, but these errors were encountered: