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

QtQuick.Dialogs opening causes RuntimeError on WebAssembly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 6.10.0
    • 6.9.2, 6.10.0 Beta3
    • Quick: Dialogs
    • None
    • WebAssembly
    • cfbd8432e06fa5fefdfcc887fa16eb53ae58940d

      import QtQuick
      import QtQuick.Dialogs
      import QtQuick.Controls
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
          Button {
              text:"open"
              onClicked: colorDialog.open()
              anchors.centerIn: parent
          }    ColorDialog{
              id:colorDialog
              // options: ColorDialog.DontUseNativeDialog
          }
      }

      Uncaught RuntimeError: memory access out of bounds
          at apptestqml.wasm.QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) (http://localhost:30000/apptestqml.wasm)
          at invoke_iii (apptestqml.js:14473:36)
          at apptestqml.wasm.QCoreApplication::sendEvent(QObject*, QEvent*) (http://localhost:30000/apptestqml.wasm)
          at apptestqml.wasm.QWasmInputContext::setFocusObject(QObject*) (http://localhost:30000/apptestqml.wasm)
          at apptestqml.wasm.QGuiApplicationPrivate::_q_updateFocusObject(QObject*) (http://localhost:30000/apptestqml.wasm)
          at apptestqml.wasm.QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (http://localhost:30000/apptestqml.wasm)
          at invoke_viiii (apptestqml.js:14339:29)
          at apptestqml.wasm.void doActivate<false>(QObject*, int, void**) (http://localhost:30000/apptestqml.wasm)
          at apptestqml.wasm.QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (http://localhost:30000/apptestqml.wasm)
          at apptestqml.wasm.QWindow::focusObjectChanged(QObject*) (http://localhost:30000/apptestqml.wasm)

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

            sorvig Morten Sørvig
            lzhdsd lzh lzh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes