"5.11.0 windows" qtbug67777_widget initial size: QSize(400, 400) --> QPlatformWindow::initialGeometry(): move from DISPLAY1 to DISPLAY2 by cursor pos: QPlatformWindow::initialGeometry QWidgetWindow(0x19dcfbdfc00, name="WidgetClassWindow") QRect(4600,380 400x400) QScreen(0x19dcfbdb520, name="\\\\.\\DISPLAY2") QCursor::pos= QPoint(4582,590) CreateWindowEx: QWidgetWindow(0x19dcfbdfc00, name="WidgetClassWindow") class="Qt5QWindowIcon" title="qtbug67777_widget" 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(4600,380 400x400): 426x471+4587+322 custom margins: QMargins(0, 0, 0, 0) CreateWindowEx: returns QWidgetWindow(0x19dcfbdfc00, name="WidgetClassWindow") 0x17805b0 obtained geometry: QRect(4595,353 410x432) QMargins(8, 31, 8, 8) --> QPLatformWindow::initialize() detects and sends ScreenChanged() QWindowsWindow::initialize > QWindowSystemInterface::handleWindowScreenChanged QWidgetWindow(0x19dcfbdfc00, name="WidgetClassWindow") "\\\\.\\DISPLAY2" event= 0x19dcfc06770 QWindowsWindow::initialize Widget does initial resize with ScreenChanged pending in QWSysIF queue: QWidgetPrivate::show_sys Widget(0x2b091fcc0) QWidgetPrivate::show_sys resizing QWindow::resize QSize(400, 400) "\\\\.\\DISPLAY1" toNativePixels=: QRect(4596,354 800x800) > QWindowsBaseWindow::setGeometry_sys QWidgetWindow(0x19dcfbdfc00, name="WidgetClassWindow") from QRect(4595,353 410x432) frame: QMargins(8, 31, 8, 8) to QRect(4596,354 800x800) new frame: QRect(4588,323 816x839) 800 -> Screen changed received way after resizing: QGuiApplicationPrivate::processWindowScreenChangedEvent event= 0x19dcfc06770 QWidgetWindow(0x19dcfbdfc00, name="WidgetClassWindow") "\\\\.\\DISPLAY2"