XAML Islands: Synaptics touchpads can't scroll XAML content #2172
Labels
area-Islands
Xaml Islands feature
bug
Something isn't working
needs-winui-3
Indicates that feature can only be done in WinUI 3.0 or beyond. (needs winui 3)
team-Reach
Issue for the Reach team
Describe the bug
This is being filed to track the following bug in the Windows Terminal: microsoft/terminal#979
I've got a HP Spectre 2017 x360 that I use at home, with a touchpad using the synaptics drivers. On this laptop, I can't use the touchpad to scroll the contents of the Terminal at all. Scrolling simply doesn't on any DPI scaling nor display. However, scrolling with a actual mouse wheel works perfectly fine.
From what I've gathered, nothing in the XAML island ever receives a
PointerWheeled
event when this touchpad is used to scroll the Terminal. However, we do get aWM_MOUSEWEEL
window message on our parentHWND
(theHWND
that's hosting the XAML island) on this type of device. ThisWM_MOUSEWEEL
does not occur on the Surface Laptop I've also been using to test.[1]: Additional research discovered that inactive window scrolling works fine on these devices if certain applications are in the foreground. Applications can scroll fine with the touchpad while inactive when Settings is in the foreground, but does not scroll when Chrome is in the foreground. NOTE that the Terminal never scrolls, even when the Terminal is in the foreground.
My working theory, which is derived from notes in #2101 is that the entire XAML island is treated like an inactive window. Unfortunately, I don't really understand the XI input stack, so that might be way off base.
Steps to reproduce the bug
Expected behavior
Version Info
NuGet package version: `Microsoft.UI.Xaml.2.3.191217003-prerelease
I'm seeing this on Microsoft Windows [Version 10.0.19578.1000], RS_ONECORE_DEP, though this has been around for months.
Additional context
I've previously discussed this with @Austin-Lamb and @ocalvo in a mail thread.
The text was updated successfully, but these errors were encountered: