wxWebView scrolling functions do not seem to work

11 views
Skip to first unread message

Martin Corino

unread,
Mar 16, 2026, 11:59:50 AM (2 days ago) Mar 16
to wx-dev
@vadz While testing the WebView sample on GTK and MacOS I noticed the scrolling functions LineUp, LineDown, PageUp, PageDown do not seem to work on either platform.
Is that expected behavior currently? I cannot find a note about that in the docs.

Vadim Zeitlin

unread,
Mar 16, 2026, 12:09:44 PM (2 days ago) Mar 16
to wx-...@googlegroups.com
On Mon, 16 Mar 2026 08:59:50 -0700 (PDT) Martin Corino wrote:

MC> While testing the WebView sample on GTK and MacOS I noticed the
MC> scrolling functions LineUp, LineDown, PageUp, PageDown do not seem to
MC> work on either platform.
MC> Is that expected behavior currently? I cannot find a note about that in the
MC> docs.

Sorry, no idea, you need to look at the sources of various backends to see
if they implement this.

Regards,
VZ

Martin Corino

unread,
Mar 16, 2026, 12:17:47 PM (2 days ago) Mar 16
to wx-dev
Afaict NONE of the backends implements any special code for this. All platforms do implement basic wxWindow scrolling functionality (wxWindow::ScrollLines and wxWindow::ScrollPages) but that does not seem to do anything for the wxWebView window.
The WebView sample however implements some demo code intended to scroll the WebView window so I was under the impression this should work somehow but I guess this code is bogus.

Op maandag 16 maart 2026 om 17:09:44 UTC+1 schreef Vadim Zeitlin:
Reply all
Reply to author
Forward
0 new messages