MicrosoftEdge/WebView2Feedback

[Problem/Bug]: Copy/paste functions not working with touchscreen

jamesdavidson407 opened this issue · 4 comments

What happened?

When I select text within a page displayed in the WebView2 control, the menu for selecting "Copy" appears but I'm unable to click on it. It just stays open until I click away. The text doesn't get copied to the clipboard as I'm not able to paste it inside or outside of the app. Selecting Ctrl+C using the touchscreen keyboard also fails to work. If I use an external keyboard or a mouse, it works fine.

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Prerelease (Edge Canary/Dev/Beta)

Runtime Version

129.0.2792.79

SDK Version

2839.0

Framework

WinUI2/UWP

Operating System

Windows 11

OS Version

22631.4317

Repro steps

  • Run the webview2_sample_uwp app from https://github.com/MicrosoftEdge/WebView2Samples on a Microsoft Surface touchscreen device with no external keyboard or mouse.
  • Select some text by long pressing on it.
  • The context menu with the clipboard options appear but I'm not able to click on them.

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

Hi @jamesdavidson407,

Sorry to hear you're hitting this and thanks for trying it in prerelease!

In the dropdown that appears when you select text, I assume it's a normal context menu with multiple options besides just copy (correct me if I'm wrong). Is it only the copy button that doesn't respond? Do other menu items appear to work?

It is a menu that shows the clipboard options with an ellipsis to open the full context menu. E.g. Cut,Copy,Paste,... None of the options work including the ellipsis, so I'm not able to open the full context menu to see if any of the other options would work.