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

[HiDpi] Qt renders incorrectly if user's scaling factor is less than 1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.1
    • 5.15.2
    • GUI: High-DPI
    • None
    • Linux/X11

    Description

      Users may configure their system in such a way that Qt computes a scale value less than 1. If the program enables pass through scaling policy to enable fractional scaling this breaks previously correct behavior for these users (because now their 0.X is not rounded to 1).

       

      It seems there is already some discussion of this issue in the bugs and but no fixes have been submitted [1]. But I consider this breaking since it means developers must now choose to support fractional scaling and break some users or disable fractional scaling for all users. If sub 1.0 scaling values are unsupported, then Qt should round these up regardless of the scaling policy so that developers can enable fractional scaling for cases Qt actually does support.

       

      https://codereview.qt-project.org/c/qt/qtbase/+/151578

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            kurufu kurufu 2
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes