Respect disabled physical scrolling in Scroll (PR #26900)

12 views
Skip to first unread message

Richard Thomson

unread,
Aug 24, 2026, 4:00:30 PM (3 days ago) Aug 24
to wx-...@googlegroups.com, Subscribed

Make wxScrollHelper::DoScroll() use ScrollWindow() only for axes whose physical scrolling is enabled. Disabled axes still update their logical scroll position and invalidate the target window so it repaints.

Add a regression test covering fully disabled physical scrolling and a mixed horizontal-enabled, vertical-disabled scroll.

Fixes #4433


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26900

Commit Summary

  • ec1e29c Respect disabled physical scrolling in Scroll

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26900@github.com>

VZ

unread,
Aug 26, 2026, 10:37:40 AM (yesterday) Aug 26
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26900)

I'm not sure if we really want to do this. In wx, disabling something means preventing the user from doing it, but the program should still be able to do it.

Unless there is some good reason to prevent the program itself from scrolling the window (which?), I'd rather close both this and the original issue.

Any other thoughts?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26900/c5426929296@github.com>

RobertRoeb

unread,
Aug 26, 2026, 2:33:32 PM (yesterday) Aug 26
to wx-...@googlegroups.com, Subscribed
RobertRoeb left a comment (wxWidgets/wxWidgets#26900)

Hm, I sympathise with the patch - not sure. Maybe the OP can describe a situation when this happened so we can consider again.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26900/c5429489743@github.com>

Richard Thomson

unread,
4:35 PM (4 hours ago) 4:35 PM
to wx-...@googlegroups.com, Push

@LegalizeAdulthood pushed 1 commit.

  • e937083 Respect disabled physical scrolling in Scroll


View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26900/before/ec1e29cd1009cdd50dbb2fafb69effd18496421d/after/e937083c74a7b1bab1c196c698f07e8396efece5@github.com>

Reply all
Reply to author
Forward
0 new messages