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

QtWebEngine crashes in quick after closing popup window

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-65044
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes