-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.5.0
-
None
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.
| For Gerrit Dashboard: QTBUG-112697 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 475036,2 | macOS: Fix leak of application menu NSMenuItem | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 475074,4 | macOS: Clear event dispatcher interrupt before running NSAlert modal session | dev | qt/qtbase | Status: MERGED | +2 | 0 |
| 475149,2 | macOS: Fix leak of application menu NSMenuItem | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
| 475151,2 | macOS: Fix leak of application menu NSMenuItem | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
| 476803,2 | macOS: Clear event dispatcher interrupt before running NSAlert modal session | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
| 476804,2 | macOS: Clear event dispatcher interrupt before running NSAlert modal session | 6.5.1 | qt/qtbase | Status: MERGED | +2 | 0 |