Does scrollPositionChanged signal for QWebEnginePage actually work?
-
I have a QWebEnginePage to which I'm attempting to connect the signal scrollPositionChanged with:
self.view.page().scrollPositionChanged.connect(self.engine_page_scrolled)
The connect statement doesn't cause any errors. However, when I run the program, the signal never fires, regardless of whether I manually click the scroll bar to move it or change it through qwebengine.scroll.
While this signal is listed as a signal in the documentation (https://doc.qt.io/Qt-5/qwebenginepage.html#signals), the detailed description of it is conspicuously absent from that page (unlike all the other signals listed), which makes me wonder if it is simply not implemented completely in Qt? -
My problem appears to possibly be related to https://bugreports.qt.io/browse/QTBUG-105842, even though I'm on Windows.
I did create a minimum reproducible example, and the signal successfully fires with that.