- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
P2: Important
 - 
    None
 - 
    5.8, 5.10.0 Alpha, 5.9, 6.8.0
 - 
    None
 - 
    Qt 5.4.0 vs2013 win7
 
in qml project key event can not work with WebEngineView
/* key event cannot work with WebEngineView*/ import QtQuick 2.1 import QtQuick.Controls 1.1 import QtWebEngine 1.0 ApplicationWindow { width: 1280 height: 720 visible: true WebEngineView { id: webview url: "http://www.qt-project.org" anchors.fill: parent focus: true; Keys.onPressed: { if(event.key == Qt.Key_Escape || event.key == Qt.Key_Back) { console.log("xxxxxxxxxxxxxxxxx"); Qt.quit(); } else { console.log("yyyyyyyyyyyyyyyyyyy"); } } } Rectangle { anchors.fill: parent; focus: true; color: Qt.rgba(0, 0, 0, 0.2); Keys.onPressed: { if(event.key == Qt.Key_Escape || event.key == Qt.Key_Back) { console.log("xxxxxxxxxxxxxxxxx"); Qt.quit(); } else { console.log("yyyyyyyyyyyyyyyyyyy"); } } } }
/* key event work will without WebEngineView*/ import QtQuick 2.1 import QtQuick.Controls 1.1 import QtWebEngine 1.0 ApplicationWindow { width: 1280 height: 720 visible: true Rectangle { anchors.fill: parent; focus: true; color: Qt.rgba(0, 0, 0, 0.2); Keys.onPressed: { if(event.key == Qt.Key_Escape || event.key == Qt.Key_Back) { console.log("xxxxxxxxxxxxxxxxx"); Qt.quit(); } else { console.log("yyyyyyyyyyyyyyyyyyy"); } } } }
- is duplicated by
 - 
                    
QTBUG-55147 Qt Quick KeyNavigation and Keys attached items are not handled when attached to a WebEngineView
-         
 - Closed
 
 -         
 
- relates to
 - 
                    
QTBUG-43602 Mouse events are not handled in WebEngineView
-         
 - Closed
 
 -