Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.11.0
-
d66cb667efbc33b3a81ecc495e90a2e2f44616b2 (qt/qtbase/dev)
Description
The Windows platform plugin currently uses SetProcessDpiAwareness to set the dpiAwareness level. Newer Windows versions (Windows 10, 1703) have a function SetProcessDpiAwarenessContext which supports another value DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2. This will enable window decoration and native dialog scaling on mixed-monitor setups, so this should be the default on appropriate systems.
The dynamic size changes of window decorations and dialogs probably need to be handled in Qt.
Attachments
Issue Links
- relates to
-
QTBUG-103733 [Windows] setProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed on certain machines
- Closed
For Gerrit Dashboard: QTBUG-68712 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
324901,8 | Windows: Add support for PerMonitorV2 DPI awareness | dev | qt/qtbase | Status: MERGED | +2 | 0 |
331027,7 | Windows: Change default to ProcessPerMonitorV2DpiAware | dev | qt/qtbase | Status: MERGED | +2 | 0 |