-
Type:
Task
-
Status: In Progress
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 5.15.3
-
Component/s: GUI: High-DPI
-
Labels:None
-
Platform/s:
-
Technical Risk:Normal
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
- 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
-
For Gerrit Dashboard: QTBUG-86344 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
321584,4 | Improve style drawing a non-integer DPRs | dev | qt/qtbase | Status: NEW | 0 | 0 |
312292,3 | Vista Style: Fix pixelized arrow of QCommandLinkButton with scaling | dev | qt/qtbase | Status: MERGED | +2 | 0 |
312309,4 | Vista style: Fix pixelized elements after focus/activation | dev | qt/qtbase | Status: MERGED | +2 | 0 |
312323,2 | Vista Style: Fix pixelized arrow of QCommandLinkButton with scaling | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |
312326,2 | Vista style: Fix pixelized elements after focus/activation | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |
312757,1 | WIP: prototype rhi backing store | dev | qt/qtbase | Status: DEFERRED | -2 | 0 |
312758,2 | WIP: High-dpi: Prototype improved fractional scale factor support | dev | qt/qtbase | Status: DEFERRED | -2 | 0 |