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

Text cursors are an inconsistent size with non-integer scaling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.1.2, 6.1.3
    • None
    • Windows 10 Home build 1904
      Screen resolution 1920*1080 at 125% scaling
    • Windows

      When scaling in Windows is set to a non-integer level (such as 125% or 150%) text cursors in all fields appear with inconsistent widths. The attached picture is of a standard QLineEdit with no styling set, and the minimal code needed to produce this is simply showing any widget with an input field.

       

      I'm using PySide for this (tested in 6.1.2 and 6.1.3) but the same issue happens when using PyQt6, so it doesn't seem to be a PySide specific bug.

        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
            stheno Ashley Hamel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes