-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.4.0
-
Fix Version/s: 5.4.2
-
Component/s: Widgets: Widgets and Dialogs
-
Labels:None
-
Environment:Windows 7
Qt 5.4.0 (mingw32)
Qt crashes with the following message: ASSERT: "!rect.isEmpty()" in file kernel\qwidgetbackingstore.cpp, line 582
To provoke this, the following conditions must be met:
- A multi-monitor setup
- The window needs to contain a widget with zero height or width
- The window needs to contain a widget where winId() has been called (i.e. where a native window has been created)
- The user has to move the window completely to the secondary screen.
I personally observed this in VirtualBox, a minimal sample program is attached.