Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
We're looking to make Qt 6 use the native UI scale directly (without rounding), which means that Qt GUIs may be rendered at e.g. 1.25x and 1.75x.
This change was implemented in https://codereview.qt-project.org/c/qt/qtbase/+/273956 .
This requires that Qt applications are actually usable at fractional scale factors, and that any visual artifacts are not too jarring. Running at an integer scale factor will give the best visual results, which is something we should consider pointing out in the documentation.
App developers can enable rounding using the QGuiApplication::setHighDpiScaleFactorRoundingPolicy() API.
Test cases:
- Qt Quick Controls 2 (should be OK)
- Qt Wigets styles: (examples/widgets/gallery)
- Fusion style at 1.25x:
- Some missing frame lines, otherwise OK.
- Vista style
- Vista style
Attachments
Issue Links
- depends on
-
QTBUG-58611 Qt 6: Use qreal in QtWidgets drawing/styles code
- Reported
- is duplicated by
-
QTBUG-88720 Control widgets borders missing when high-dpi and scaling enabled
- Reported
-
QTBUG-88403 examples/widgets/widgets/styles looks broken with fractional scaling
- Closed
- relates to
-
QTBUG-64853 HiDPI: The region of when call QWidgetPrivate::setSystemClip does not match the region that was imported when call QPlatformBackingStore::beginPaint
- Reported
-
QTBUG-101008 Using Text.NativeRendering results in characters drawn too close to each other with fractional scale factors
- Closed
-
QTBUG-90975 [REG: 5.15-6.0] QLineEdit frame blinks at 150 % screen scaling on Windows when mouse enters its area
- Reported
-
QTBUG-123062 1.25 scaling, window dragging will cause the border of the sub-window to thicken and thin.
- Reported
-
QTBUG-96223 Painting glitches under fractional DPR scaling: collection task
- Open
-
QTBUG-80228 HighDPI: Using QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough with fractional scaling yields cosmetic issues
- Closed
-
QTBUG-86977 Qml Text underline changes on resize with fractional display scale factors
- Closed
-
QTBUG-91239 Porting to Qt6: high dpi scale factor default rounding policy not documented
- Closed
-
QTBUG-91393 Widgets alignments collapse and text getting chopped off when scaling to 125%
- Closed
-
QTBUG-93417 HighDPI: Setting setHighDpiScaleFactorRoundingPolicy() to PassThrough with fractional scaling yields cosmetic issues with QGraphicsView
- Closed
-
QTBUG-96465 Text's underline thickness is unstable on fractional screen's scale factors
- Closed
-
QTBUG-108831 Some Rectangle borders are double the width with fractional scale ratios
- Closed
-
QTBUG-111814 Dpi Scaling affect line width.
- Closed
-
QTBUG-107083 Windows/125%: Borders of "Layout" sometimes disappear in Qt Designer.
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-86344 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
218039,3 | Fix qstylesheetstyle clip border error | 5.11 | qt/qtbase | Status: NEW | -1 | 0 |