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

QFrame no physical pixel rounding for frame width on screen with non-integer device pixel ratio

    XMLWordPrintable

Details

    Description

      QFrame rendering does not take non-integer device pixel ratio into account causing the frame width to vary on the screen. Correct behaviour would be rounding line width to physical pixel to ensure consistent lien widths.

       

      Reproduce bug by executing the attached code under Windows 10 on a screen with a non-integer device pixel ratio. Use the mouse to scale the widget and see the line width jump.

      Attachments

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

        Activity

          People

            davschul David Schulz
            ev E Visser
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes