Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.8.0
-
None
Description
QWebEngineView not send to eventFilter QEvent::MouseMove.
QWebEngineView webView; webView.setParent(this); webView.setGeometry(5,35,700,500); webView.setMouseTracking(true); webView.installEventFilter(this); bool MainWindow::eventFilter(QObject * object, QEvent * event) { if(event->type() == QEvent::MouseMove) { } return QObject::eventFilter(object,event); }
======================================================================
In addition, the filter does not catch even clicks, and yet, there is no emulation of clicks
QMouseEvent mp( QEvent::MouseButtonPress, QPoint(30,30),Qt::LeftButton, Qt::LeftButton, Qt::NoModifier );
QCoreApplication::sendEvent(&webView, &mp);
QMouseEvent mp2( QEvent::MouseButtonRelease, QPoint(30,30),Qt::LeftButton, Qt::LeftButton, Qt::NoModifier );
QCoreApplication::sendEvent(&webView, &mp2);
QWebEngineView - one big bug in which nothing really exists and does not work, return webkit!!
Attachments
Issue Links
- duplicates
-
QTBUG-43602 Mouse events are not handled in WebEngineView
-
- Closed
-