IOS 11.1 und QMessageBox
-
Hello,
I am having exactly the same problem. Some (not all) QMessageBox are not responding anymore under iOS 11. The very same program works fine under iOS 10 or 9. The problem exists with the static form of QMessageBox or if I create a QMessageBox object and call exec.For instance:
QMessageBox::StandardButton reply = MSGBOX_CLASS::information (this,
tr("test"),
"test",
QMessageBox::Ok | QMessageBox::Cancel);never returns whatever button I touch. "this" is a QMainWindow, but same problem if I put 0 instead.
-
Found a workaround for my case(s):
These QMessageBoxes are always triggered from a QAction (either menu/menubar or toolbar).
I changed the connectionType of the connect to slot for all these actions to Qt::QueuedConnection and the problem is gone.
I will report a Qt bug. -
Hello,
I am having exactly the same problem. Some (not all) QMessageBox are not responding anymore under iOS 11. The very same program works fine under iOS 10 or 9. The problem exists with the static form of QMessageBox or if I create a QMessageBox object and call exec.For instance:
QMessageBox::StandardButton reply = MSGBOX_CLASS::information (this,
tr("test"),
"test",
QMessageBox::Ok | QMessageBox::Cancel);never returns whatever button I touch. "this" is a QMainWindow, but same problem if I put 0 instead.
@maitai_vw You should check the Qt bug-tracker: https://bugreports.qt.io/secure/Dashboard.jspa
If there is no bug reported for this you can file a new one.