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

QWebEngineView not send to eventFilter QEvent::MouseMove

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.8.0
    • Fix Version/s: None
    • Component/s: WebEngine
    • Labels:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes