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

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15.2
    • Fix Version/s: 6.1
    • Component/s: GUI: High-DPI
    • Labels:
      None
    • Platform/s:
      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

        For Gerrit Dashboard: QTBUG-89948
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            sorvig Morten Sørvig
            Reporter:
            kurufu kurufu 2
            PM Owner:
            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