Steps to reproduce:
- Download and build the attached project ModalsTest.zip
- Run it
- Click the button "Open". A modal dialog appears.
When the dialog becomes visible the main window becomes gray.
Expected: the main window should not change its appearance.
If you comment line 13 in file main.cpp:
then this bug will stop reproducing.
You can see this bug reproduction in the attached video.