[Interest] Issue with application modal message boxes

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Mon May 22 12:00:13 CEST 2017


Dear all,

I have a QMessageBox displayed in my MainWindow::showEvent when some system
check fails. If I display other QMessageBox there, they are displayed
sequentially, as expected by the application modal feature.

In this showEvent, I also do a HTTP request on the server to check for new
versions. The QNetworkManager is connected to a MainWindow slot for
processing the reply. If a newer version is found, I display a message box
there. If I display several message boxes there, they are also shown
sequentially.

The issue is, the system check message boxes and the version check message
boxes are displayed at the same time, as if they were modal on two separate
contexts.

What can be wrong?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170522/c7e16dbc/attachment.html>


More information about the Interest mailing list