Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0
-
None
-
c1d08afd31074a2733057ed6620735ef2f4dd8c6
Description
When resizing a QWindow with devicePixelRatio > 1, the resulting native size will map to a different size than the original. The attached program is stable at dpr 1, but grows continuously at dpr 2. This program is not a realistic use case, but it reproduces a problem with the following Qt Quick application:
import QtQuick 2.4 import QtQuick.Window 2.2 Window { height: 360 width: height * 2 visible: true MainForm { anchors.fill: parent mouseArea.onClicked: { Qt.quit(); } } }