Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.10, 5.15.2, 6.0.1, 6.1.0 RC, 6.1.0 RC2, 6.2.0 Beta3
-
None
-
-
f3bc1f850046341745d42e2d6739724321634891 (qt/qtbase/dev) f1244e54e5843c48d01efc1e06481d16cf3e2c82 (qt/qtbase/6.1) a6cc60ee029602651932108f517a59bac8ee2699 (qt/qtbase/6.2) e4a1fa99d45931019c13861aa6545b7519c462c7 (qt/tqtc-qtbase/5.15)
Description
Opening multiple modal dialogs will block all user input.
While you might say, that you are not supposed to pen multiple modal dialogs, it still can happen....
#include <QApplication> #include <QInputDialog> #include <QMainWindow> int main(int argc, char *argv[]) { QApplication a(argc, argv); QMainWindow w; w.resize(800, 600); auto in1 = new QInputDialog(&w); auto in2 = new QInputDialog(&w); // only one QInputDialog will be displayed on mac as both are centered without window decorations // the visible QInputDialog won't accept any inputs.... // the application is not responding and a force quit is required in1->open(); in2->open(); w.show(); return a.exec(); }
Attachments
Issue Links
- is duplicated by
-
QTBUG-50790 Mac: Multiple parallel windowmodal sheets block the window
-
- Closed
-