Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0
-
None
-
-
d01aa3961 (dev), 1c7a8abe8 (6.5), 9e1e1e28e (tqtc/lts-6.2), dcff882f3 (dev), 239de8cde (6.5), 162ce53fc (6.5.1)
Description
This bug is similar to QTBUG-111524 except for the start conditions:
- The QMessageBox have to be exec from the menuBar;
- Before the exec of the QMessageBox a modal dialog have to be opened;
Attached you will find an example to reproduce this error, just:
- Build and run the application on macOS with Qt 6.5
- Click Menu File -> Show message box
- Close first dialog with Ok or Cancel
- ERROR: the QMessageBox returns immediately
Remarks
- If you open the QMessageBox without before opening a dialog, or not via the menuBar, it is working correctly, the QMessageBox is not returning immediately.