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

QtWebEngine crashes in quick after closing popup window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.2
    • 5.10
    • WebEngine
    • None
    • Linux x64
    • All

      QtWebEngine crashes when a popup window is closed just after it starts to run a JavaScript. The QQuickWebEngineView is not destroyed on closing the window and it tries to call the callback. It fails, because there is no QQmlEngine associated with the view. See the attached main.qml example.

      This issue may be reproduced with functions where the QmlEngine is not checked in QQuickWebEngineView. For example, when opening a link in a new window with context menu.

        1. main.qml
          2 kB
          Valentin Fokin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            fokinv Valentin Fokin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes