QML debugging is enabled. Only use this in a safe environment. Qt::AA_EnableHighDpiScaling 5.10.1 windows, DPR=2 -platform windows:menus=none qml: ---- onHeightChanged: height = -20 CreateWindowEx: ApplicationWindow_QMLTYPE_11(0x22443cde0f0) class="Qt5QWindowOwnDCIcon" title="Test MenuBar" WindowCreationData: QFlags(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint) topLevel=true popup=false dialog=false embedded=false tool=false style=0x86cf0000 WS_POPUP WS_CLIPSIBLINGS WS_CLIPCHILDREN WS_THICKFRAME WS_DLGFRAME WS_SYSMENU WS_MINIMIZEBOX WS_MAXIMIZEBOX requested: QRect(1320,640 1200x800): 1226x871+1307+582 custom margins: QMargins(0, 0, 0, 0) CrCTX WM_NCCALCSIZE QSize(1200, 800) CrCTX WM_SIZE QSize(1200, 800) CreateWindowEx: returns ApplicationWindow_QMLTYPE_11(0x22443cde0f0) 0x720486 obtained geometry: QRect(1320,640 1200x800) QMargins(13, 58, 13, 13) qWindowsWndProc ApplicationWindow_QMLTYPE_11(0x22443cde0f0) margins= QMargins(13, 58, 13, 13) QWindowsWindow::initialize handleGeometryChange creationContext->requestedGeometryIn= QRect(0,0 1200x800) creationContext->obtainedGeometry= QRect(1320,640 1200x800) QWindowSystemInterface::handleGeometryChange ApplicationWindow_QMLTYPE_11(0x22443cde0f0) newRect= QRect(1320,640 1200x800) requestedGeometry= QRect(0,0 600x400) QGuiApplicationPrivate::processGeometryChangeEvent actualGeometry= QRect(660,320 600x400) lastReportedGeometry= QRect(0,0 600x400) requestedGeometry= QRect(0,0 600x400) QGuiApplicationPrivate::processGeometryChangeEvent isResize= false resizeEventPending= true "Window" QResizeEvent(600, 400) qml: ---- onHeightChanged: height = 380 geometry= QRect(660,320 600x400) frameGeometry= QRect(654,291 612x435) frameMargins QMargins(6, 29, 6, 6) "Window" QResizeEvent(600, 400) CreateWindowEx: QWindow(0x2244420bfe0, name="QOffscreenSurface") class="Qt5QWindowOwnDCIcon" title="qtbug65917" WindowCreationData: QFlags(Window|WindowTitleHint|WindowSystemMenuHint|WindowMinMaxButtonsHint|WindowCloseButtonHint) topLevel=true popup=false dialog=false embedded=false tool=false style=0x86cf0000 WS_POPUP WS_CLIPSIBLINGS WS_CLIPCHILDREN WS_THICKFRAME WS_DLGFRAME WS_SYSMENU WS_MINIMIZEBOX WS_MAXIMIZEBOX requested: QRect(0,0 2x2): 28x73+0+0 custom margins: QMargins(0, 0, 0, 0) CrCTX WM_NCCALCSIZE QSize(2, 2) CrCTX WM_SIZE QSize(232, 2) CreateWindowEx: returns QWindow(0x2244420bfe0, name="QOffscreenSurface") 0x730486 obtained geometry: QRect(13,58 232x2) QMargins(13, 58, 13, 13) qWindowsWndProc QWindow(0x2244420bfe0, name="QOffscreenSurface") margins= QMargins(13, 58, 13, 13) QWindowsWindow::initialize handleGeometryChange creationContext->requestedGeometryIn= QRect(0,0 2x2) creationContext->obtainedGeometry= QRect(13,58 232x2) QWindowSystemInterface::handleGeometryChange QWindow(0x2244420bfe0, name="QOffscreenSurface") newRect= QRect(13,58 232x2) requestedGeometry= QRect(0,0 1x1)