Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0
-
Windows 10, 4K screen, native device pixel ratio of 1.5 (font size set at 150%)
-
-
c818acda9 (dev), 0d780efd8 (6.5)
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 |
472847,4 | Improve style drawing under DPR scaling further | dev | qt/qtbase | Status: MERGED | +2 | 0 |
474249,2 | Improve style drawing under DPR scaling further | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |