-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can’t scroll with Synaptics touchpad in WinUI Win32 apps #2482
Comments
the on screen touchpad is a PTP. i don't think microsoft cares that win32 apps don't have overscroll or smooth scroll despite using it themselves. |
Thanks for reporting this! We have some recent fixes that may address these issues. Working to repro with the latest builds; will investigate further if these are still issues. |
This affects WebView2 even in UWP applications, which is actually a win32 component - it's an easy repro if that's what you're searching for. |
I believe this was fixed in Preview 3. If you still repro on Preview 3 or the upcoming Preview 4, please reactivate. |
This is still a problem in WinUI 3 |
This is NOT fixed. None of WinUI3 apps including WinUI 3 gallery app work correctly with My old Dell Inspiron 7437 note PC's touchpad. Strangely, it scrols if app is not focused though. BTW, WPF apps work fine without any problem. |
Describe the bug
This issue echoes #2172 except it also applies to WinUI Win32. Scrolling does not work using an HP Spectre x360 that’s a few years old and does not have a precision trackpad, just like in the Windows Terminal’s issue. Windows has historically had issues with touchpad scrolling inactive windows, but here’s the bizarre part: an active WinUI Win32 window will not scroll, but an inactive window will, provided that a certain other window is active. Since this is convoluted, I will format it in a table.
Sorry if this is confusing. I was about to publish this issue before I realized that the window does scroll under certain circumstances (I have also tested this and it is true for XAML islands as well). The key takeaway, though, is that scrolling in WinUI Win32 does not function in a useful way with a Synaptics touchpad.
I assume that these are limitations in the Synaptics driver, but I would love it if WinUI Win32 apps worked just as smoothly with the touchpad as it does in UWP apps. If a UWP app is the active window, it always scrolls the correct inactive window if you mouse over it. This may not be possible, but I would expect, at the least, a patch to be applied to fix basic two-finger scrolling.
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
I expect a WinUI Win32 app to scroll when the window is focused (must), scroll when the window is not focused (if possible), and scroll as smoothly as it does in UWP when using a Synaptics touchpad.
Version Info
NuGet package version:
Microsoft.WinUI 3.0.0-preview1.200515.3
Additional context
Using the on screen touchpad, which does successfully scroll in the WinUI Win32 app, it is apparent that the scrolling behavior is different between UWP and Win32. For example, the UWP app has a bouncing effect when scrolling to the ends. I think this warrants a separate issue, but I would like someone with a precision touchpad to test this first. Scrolling with the touch screen is identical for both.
The text was updated successfully, but these errors were encountered: