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

[REG 5.15.0 ->5.15.1] HighDPI: Fonts are not scaled consistently when scaling is changed

    XMLWordPrintable

Details

    • Windows

    Description

      When changing the Windows scaling factor in the display settings, e.g. from 100% to 175%, texts in Qt applications are not scaled consistently when 'Let Windows try to fix apps so they're not blurry' is set to off.

      It seems to be regression between Qt 5.15.0 and 5.15.1

      The main menu and popup menus are drawn with a larger text , but the rest of the texts appear smaller as if they would use the same size like with 100% scaling.

      Way to reproduce:
      1) From advanced display settings set 'Let Windows try to fix apps so they're not blurry' to off.
      2) Set the scaling factor from Windows settings to 100%
      3) Build and run the official Qt 'addressbook' example (either with Qt 5.15.8 or 6.2.3). The texts are consistently of same size like intended.
      4) Change the scaling factor for example to 150%, application gets correctly scaled.
      5) Exit the application and run the example again.
      6) Now the texts of menu appear correctly bigger but the texts of tabs are much smaller.

      Attachments

        1. addressbook_Qt6.2.3_scaling200.PNG
          addressbook_Qt6.2.3_scaling200.PNG
          13 kB
        2. qtbug101951_diag.diff
          1 kB
        3. qtbug101951_log.txt
          9 kB
        4. qtbug101951_revert_diag.diff
          2 kB
        5. qtbug101951.zip
          3 kB
        6. scalingbug.png
          scalingbug.png
          27 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              foxxx Tuukka Kettunen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes