Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.0
-
None
Description
When viewing some WebGL applications via QtWebEngine, I am noticing that two-finger scrolling with the trackpad can be a bit erratic and does not follow fast motions well at all. I set up the following minimal example:
#include <iostream> #include <QApplication> #include <QWebEnginePage> #include <QWebEngineView> int main(int argc, char *argv[]) { QApplication app(argc, argv); QWebEnginePage *page = new QWebEnginePage; QWebEngineView *web = new QWebEngineView; web->setPage(page); web->setUrl(QUrl("https://fractalglider.github.io/fun/2018/02/13/testing-mouse-scroll-wheel.html")); web->show(); return app.exec(); }
If I open this webpage in e.g. Safari and make a smooth oscillating motion with the trackpad with several oscillations a second (roughly 3), I get a smooth graph (attached). If I do the same with the above, the curve is quite noisy and completely fails to keep up at times. Even when moving slowly, the motions are a bit erratic at times in QtWebEngine.