Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
None
-
Desktop Qt 5.1.0 MSVC2010 32bit OpenGL
Windows 7 Home Premium 64bit
Linux
OS X
-
aab50ad061dfaff7a0a30a4164163fdd41571270
Description
In the attached application, a modal dialog is displayed while new widgets are added to the application's main window. After hiding the modal dialog, the main window does not respond to mouse clicks in any of its widgets (including the menubar).
QGuiApplicationPrivate::updateBlockedStatus() is setting window->d_func()->blockedByModalWindow = true on all the child widgets, not just the toplevel window. This flag does not get set to false after hiding the modal dialog (except on the toplevel window).