Skip to content

Conversation

@t-bashir-bs
Copy link

Description of Change

Mouse events were working correctly with htmlwidget rotation, but touch events weren't. The reason for this is that WindowTargeter::FindTargetInRootWindow was comparing non-transformed/rotated touch co-ordinates against transformed/rotated window bounds.

I looked at adding test coverage to verify this fix, but webContents.sendInputEvent doesn't support touch events. Even if the Electron and Chromium code was modified to support this, it injects the events into RenderWidgetHostImpl, which is after the window targeter code. To test this touch events would have to be injected at the wayland level.

Checklist

Release Notes

Notes:

@t-bashir-bs t-bashir-bs merged commit fefb0ee into 28-x-y-bs Dec 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants