Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
Description
I think several users (ilpianista in IRC, emdek, me) would appreciate an API for scrolling, similar to QWebFrame::scroll/scrollPosition/scrollToAnchor/scrollBar*.
There also should be a signal when the scroll position was changed.
Use cases which come to mind:
- Displaying the scroll percentage in a statusbar
- Updating that scroll percentage without polling
- Storing/retrieving scroll position
- Scrolling to a given anchor on load
- Scrolling the page programatically, e.g. for automation, etc.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-48323 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
127219,3 | Add scrollPosition API | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
127300,2 | Add contentsSize API | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |