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

QWebEngineView not send to eventFilter QEvent::MouseMove

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.8.0
    • WebEngine
    • None

      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!!

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            bot bot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes