-
Bug
-
Resolution: Done
-
P1: Critical
-
5.14.0 RC2
-
None
-
macOS Catalina 10.15.4
On macOS (I haven't tested on any other OS), when a static member of QMessageBox is called, such as
QMessageBox::information(this, "Title", "Text");
the message box pops up like normal, but if the user clicks on the parent window the message box gets 'lost' behind the parent, making it impossible to interact with anything else since the messagebox is application modal. If possible, it would be really nice to be able to have a WindowModal version of the messagebox because when a messagebox is WindowModal it 'scrolls down' from the parent dialog and appears within the parent as opposed to on top of the parent. This makes sure it won't get lost of the user clicks somewhere on the parent dialog.
So maybe something like:
QMessageBox::information(this, QString title, QString text, Qt::WindowModality modality);