Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0 Beta3
-
None
-
macOS 13.2
-
-
4e59a5252 (dev), 805f40924 (6.5.0), 4c7e342f6 (6.5), dcff882f3 (dev), 239de8cde (6.5), 162ce53fc (6.5.1)
Description
When spawning QMenu and using it to create a QMessageBox, when exec-ing said messagebox it returns immediately with return value 0 (NoButton). Sometimes (but not always) the native-looking messagebox is visible for a frame or two.
This is new to Qt 6.5. In Qt 6.4, the Qt generated messagebox correctly pops up and blocks until the user presses a button (or closes the dialog with other means).
I attached a minimal sample below that demonstrates the behavior.
I could not confirm other platforms, seeing the switch from Qt-generated to native messageboxes I would assume this to likely be exclusive to macOS.
Attachments
For Gerrit Dashboard: QTBUG-111524 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
464715,2 | macOS: Use non-native app modal message box from nested event loops | dev | qt/qtbase | Status: MERGED | +2 | 0 |
464950,2 | macOS: Use non-native app modal message box from nested event loops | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
464951,2 | macOS: Use non-native app modal message box from nested event loops | 6.5.0 | 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 |
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 |