Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.15.0
-
None
Description
A new empty QtQuick project with this QML, and required web engine dependencies, will crash when clicking a link for a new view:
import QtQuick 2.15 import QtQuick.Window 2.15 import QtWebEngine 1.11 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") WebEngineView { anchors.fill: parent url: "https://www.qt.io" } }
Handling the signal newViewRequested(request) will avoid the crash. Documentation says not handling the signal, "the requested load will fail." I doubt a crash is the intended mechanic
I prefer the view does nothing at all.
Attachments
Issue Links
- duplicates
-
QTBUG-85494 [REG: 5.14->5.15] Quick minimal browser crashes when opening view source
- Closed
- is duplicated by
-
QTBUG-86605 QML WebEngineView crash when link clicked
- Closed