Skip to content
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

[Problem/Bug]: WebView2 freezes when a mouse button is pressed while scrolling. #4291

Closed
alxweiss opened this issue Jan 10, 2024 · 4 comments
Assignees
Labels
bug Something isn't working regression Something used to work but doesn't anymore tracked We are tracking this work internally.

Comments

@alxweiss
Copy link

alxweiss commented Jan 10, 2024

What happened?

When a mouse button is pressed while scrolling with the mouse wheel, the webview becomes unresponsive. The webview starts working again when moving the mouse outside the application window. The issue occurs from Windows SDK Version 1.4.230822000 and worked until Windows SDK Version 1.3.230724000.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

120.0.2210.121

SDK Version

WinAppSDK 1.4.231219000

Framework

WinUI3/WinAppSDK

Operating System

Windows 10, Windows 11

OS Version

10.0.19045

Repro steps

  • Create new WinUI3 Desktop app.
  • Add a WebView2.
  • Run the app and press a mouse button while scrolling.
  • The window becomes unresponsive.

Repros in Edge Browser

No

Regression

Regression in newer SDK

Last working version (if regression)

WinAppSDK 1.3.230724000

AB#48453877

@alxweiss alxweiss added the bug Something isn't working label Jan 10, 2024
@github-actions github-actions bot added the regression Something used to work but doesn't anymore label Jan 10, 2024
@alxweiss alxweiss changed the title [Problem/Bug]: Webview2 freezes when a mouse button is pressed while scrolling. [Problem/Bug]: WebView2 freezes when a mouse button is pressed while scrolling. Jan 10, 2024
@tochukwuIbeEkeocha tochukwuIbeEkeocha added the tracked We are tracking this work internally. label Jan 10, 2024
@tochukwuIbeEkeocha
Copy link
Contributor

tochukwuIbeEkeocha commented Jan 10, 2024

Confirmed, able to repro this. This will be tracked on our backlog and worked on accordingly.

@jarno9981
Copy link

strange using latest app sdk and runtime 1.4.2 and for me it doesn't freeze or crash

@bundgaard
Copy link

This is reproducible in the latest release 1.0.2277.86, but I would like to add that I have a STATIC control on top of the WebViewController, and clicking that will freeze the window.

@tochukwuIbeEkeocha
Copy link
Contributor

Hello,

Looks like the issue is not reproing on the latest version of WinAppSDK. Consider updating your apps to use the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

6 participants