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]: Using touch screen and mouse click in combination does not work. #5114

Open
knuterik91 opened this issue Feb 18, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@knuterik91
Copy link

What happened?

My Winui3 and webview2 app is used by users that uses both touchscreen and mouse click in combination.
So whenever a touch event is happening, mouse click does not work / is not registered in the webview.
No errors in webview console or in visual studio.
If we re-size the window, then mouse click works again.
This started happening 12th of february.
We are trying to rollback to a later version of edge to see if the issue goes away, but for time being we havent been able to do so.

Any help appreciated.

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

133.0.3065.69

SDK Version

1.6.250205002

Framework

WinUI3/WinAppSDK

Operating System

Windows 10

OS Version

19045.5371

Repro steps

I've created a repository that easily reproduce the issue.
https://github.com/knuterik91/WinUi3WebView2TouchAndMouseIssue/tree/main
The application also logs mouse and touch events in the ui.

Need a computer with a touchscreen.
1.Clone the repo and follow the readme.
2.run the application
3. Click on the button with your mouse, and see that current time and date is shown and gets updated for every click.
4. use the touchscreen and touch inside the webpage.
5. try to click the button again. ** does not work **

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

No response

@knuterik91 knuterik91 added the bug Something isn't working label Feb 18, 2025
@knuterik91 knuterik91 changed the title [Problem/Bug]: Using touch screen and mouse click in combination does now work. [Problem/Bug]: Using touch screen and mouse click in combination does not work. Feb 18, 2025
@MarnorBDG
Copy link

We are facing the same exact problem affecting 200+ customers.
It also seems that win+E or opening explorer allows normal mouse input again until touch is used.

@astrh
Copy link

astrh commented Feb 18, 2025

Same problem here affecting an app of 2k+ customers,
I've created a demo myself in https://github.com/astrh/WebView2TouchIssue/tree/master including touch simulation so you won't need a touch screen to see the issue

@erlisav
Copy link

erlisav commented Feb 19, 2025

We are facing the same exact problem affecting 200+ customers. It also seems that win+E or opening explorer allows normal mouse input again until touch is used.

Same problem here affecting an app of 2k+ customers, I've created a demo myself in https://github.com/astrh/WebView2TouchIssue/tree/master including touch simulation so you won't need a touch screen to see the issue

Out of curiosity, what kind of touchscreen are your customers using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants