Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.4
-
None
Description
When a QDialog is using open(), it doesn't turn the dialog modal. When the window behind the dialog gets pressed the dialog can become hidden and the application becomes unusable and also an error message appears. This is the error message:
Uncaught RangeError: Maximum call stack size exceeded
at dlmalloc (textedit.wasm:0xad1bc5)
at operator new(unsigned long) (textedit.wasm:0xacfd9c)
at QRegion::QRegion(QRect const&, QRegion::RegionType) (textedit.wasm:0x5d447d)
at QWasmCompositor::raise(QWasmWindow*) (textedit.wasm:0x3960f)
at QWasmWindow::raise() (textedit.wasm:0x4c06f)
at QWasmWindow::requestActivateWindow() (textedit.wasm:0x4cece)
at QWindow::requestActivate() (textedit.wasm:0x4efe88)
at QWasmCompositor::notifyTopWindowChanged(QWasmWindow*) (textedit.wasm:0x390f2)
at QWasmCompositor::raise(QWasmWindow*) (textedit.wasm:0x39675)
at QWasmWindow::raise() (textedit.wasm:0x4c06f)
If you then press one the window too many times the application will crash. It is already in a hanging state but can't actually use the program.