MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
439 stars 51 forks source link

Copy + Paste does not work properly #3775

Open weaslyko opened 1 year ago

weaslyko commented 1 year ago

Description If you try to copy or cut and paste values with the mouse it does not work in about 9/10 trys. This includes copy and paste inside WebView2 and Copy in Webview2 and then paste the value out of it. Copy and paste via ctrl+c and ctrl+v works but it does not work with right mouse -> copy and then right mouse -> paste.

Version WebView2 1.0.1264.42 with Microsoft.UI.Xaml 2.8.2 Framework: UWP OS: Win 10 / Win 11

Repro Steps Retry multiple times to copy and paste values inside WebView2 with right mouse. Retry multiple times to copy with right mouse inside WebView2 and paste outside WebView2 with right mouse.

Thank you four your support.

weaslyko commented 10 months ago

Hello @maurawinstanley, @jennifer-jacobs,

this issue was assigned to you over a month ago. Do you have any updates for me?

Best regards

jennifer-jacobs commented 10 months ago

Hi @weaslyko, sorry for the delay. What content are you trying to copy and paste?

We have a known feature parity issue with WinUI2 (UWP) that copy and paste isn't fully implemented in WinUI2, which could be what you're hitting. Copying and pasting text or unicode characters should be currently supported, but copying images or other content doesn't work.

weaslyko commented 10 months ago

Hi @jennifer-jacobs, we just try to copy and paste text/unicode characters.

weaslyko commented 9 months ago

Hi @jennifer-jacobs, do you have any updates for me?

Best regards

jennifer-jacobs commented 8 months ago

Hi @weaslyko,

I tried copying and pasting 10 times from our WinUI2 sample app to notepad with right click -> copy in WV2 and then right click -> paste into notepad (repeat 10x) and was not able to repro the issue. I am also using XAML 2.8.2.

I am using a newer version of the runtime than in the original bug. Are you using evergreen or a fixed version of the runtime?

Do you have a way (sample app or otherwise) to consistently repro this?