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

Some fonts too large on Qt 6.4.1 (Windows, 150% scaling)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.4.1
    • GUI: High-DPI
    • None
    • Windows 10, Windows 11, MSVC 2019
    • Windows

    Description

      When upgrading from Qt 6.4.0 to Qt 6.4.1, I noticed that some fonts are now much larger than before. This happens on Windows, with scaling set to 150%.

      To reproduce, build Qt Example widgets\tools\settingseditor in QtCreator and run this on Windows with scaling set to 150%.
      (the problem also appears with many other, but not all, Qt Examples).

      With Qt 6.4.0, it looks like it has been in all recent Qt versions.
      With Qt 6.4.1, the font of the menus is now too large, and on the settings dialog, some fonts look as before (for example the window titles and labels), and others (for example the list content) are too large.

      Another example of this is Qt Designer that comes with the prebuilt binaries. When comparing Designer from 6.4.0 with 6.4.1, the window titles and the "Filter" widget seem to have the same font size, and the toolbar icons are also the same size, but most other fonts are too large in the 6.4.1 version.

      Designer "C:\Qt\6.4.0\msvc2019_64\bin\designer.exe":

      Designer "C:\Qt\6.4.1\msvc2019_64\bin\designer.exe":

      Attachments

        1. Designer6.4.0.png
          Designer6.4.0.png
          150 kB
        2. Designer6.4.1.png
          Designer6.4.1.png
          198 kB
        3. SettingsEditorQt6.4.0.png
          SettingsEditorQt6.4.0.png
          43 kB
        4. SettingsEditorQt6.4.1.png
          SettingsEditorQt6.4.1.png
          66 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              karlwolfram Karl Wolfram
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes