Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108907

Incorrect Scaling of fonts on Windows 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.4.0, 6.4.1, 6.5.0 FF
    • Widgets: Main Window
    • None
    • Windows 11 Pro 22H2 OS 22621.819
    • Windows

      On a Windows 11 22H2 laptop with AMD Ryzen GPU I do experience a incorrect scaling behaviour of my app starting Qt 6.4.0, also affecting 6.4.1 and 6.5-dev.

      Qt 6.3.2 does not seem to have the problem.

       

      The laptop has a 1920x1080 display and is set to 250% scaling and a virtual resolution of 3840x2160 in windows settings as offered by the AMD graphics driver.

      Disabling the AMD virtual resolution and using a "native" 125% windows scaling still shows the enlarged font sizes with 6.4+ - only smaller enlargement can be seen.

      When the app is compiled with Qt 6.3.2 everything works as expected and looks like all other windows applications:

      However, after compilation with 6.4.0, 6.4.1 or 6.5-dev the app looks like this:

      No modifications to the source code were made.

       

      Here is the Qt about box for comparison with 6.3.2:

      and with 6.5-dev:

        1. app_632.png
          app_632.png
          118 kB
        2. app_650.png
          app_650.png
          224 kB
        3. qt_about_632.png
          qt_about_632.png
          90 kB
        4. qt_about_650.png
          qt_about_650.png
          554 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            derreisende77 Christian F
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes