Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0
-
None
-
-
6da1ecc8c (dev), 355656d9c (6.5), eb8605ed2 (6.6)
Description
Since the native dialogs are used in Qt 6.5, a parented message box will not emit the accepted signal. Unparented works fine, but it uses a completely different code-path.
Attached is a sample project that shows the problem. Run as is will not emit the signal. When the this parameter on line 13 of widget.cpp is removed, the signal is emitted.
To be clear: this is a regression from previous versions, see the comments below.
Attachments
For Gerrit Dashboard: QTBUG-113685 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
488182,4 | QMessageBox: Emit accepted/rejected for native message boxes | dev | qt/qtbase | Status: MERGED | +2 | 0 |
488763,2 | QMessageBox: Emit accepted/rejected for native message boxes | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
493177,3 | QMessageBox: Emit accepted/rejected for native message boxes | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |