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]: Copy/paste functions not working with touchscreen #4861

Open
jamesdavidson407 opened this issue Oct 11, 2024 · 3 comments
Open
Labels
bug Something isn't working

Comments

@jamesdavidson407
Copy link

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

@jamesdavidson407 jamesdavidson407 added the bug Something isn't working label Oct 11, 2024
@jennifer-jacobs
Copy link

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?

@jamesdavidson407
Copy link
Author

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.

@jamesdavidson407
Copy link
Author

Hi @jennifer-jacobs, is there any update on this?

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

2 participants