Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102211

Modal QDialog can be hidden on wasm

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.4.0 Beta4
    • 6.2.4
    • QPA
    • None
    • WebAssembly

    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. 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lpotter Lorn Potter
            jack_croasdale Jack Croasdale
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes