MicrosoftEdge / WebView2Feedback

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

[Problem/Bug]: There show two pop up menu when select all content use touch screen #4737

Open finepeilei opened 3 months ago

finepeilei commented 3 months ago

What happened?

  1. Input some content in the new Microsoft Teams that used webview2
  2. Select all the content
  3. Use touch screen to click the content
  4. Show two popup menu

Importance

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

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

No response

Framework

WPF

Operating System

Windows 11

OS Version

No response

Repro steps

  1. Input some content in the new Microsoft Teams that used webview2
  2. Select all the content
  3. Use touch screen to click the content
  4. Show two popup menu

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

AB#53162999

finepeilei commented 3 months ago

image

victorhuangwq commented 3 months ago

I can reproduce this issue. For me it flickers for a second before disappearing. Did it stay there on screen for yours?

finepeilei commented 2 months ago

Yes, it will stay if I do not use mouse or keyboard to do anything

finepeilei commented 2 months ago

Also, when I use the mouse to do the next work, the popup menu which is smaller will disappear, but when I use the touch screen to do the same thing, the two menu will still exist.

victorhuangwq commented 2 months ago

Also, when I use the mouse to do the next work, the popup menu which is smaller will disappear, but when I use the touch screen to do the same thing, the two menu will still exist.

I wasn't able to repro this. could you tell me the exact steps, and in which input box did you do this?

finepeilei commented 2 months ago

1.Input some content in the send message box 2.Use touch screen to double click the content and there will show two popup menu 3.Move the external mouse(my mouse is connected the computer with bluetooth), the smaller popup menu will disappear, the big one will exist 4.If I do not do step 3 with the external mouse but with the touch screen, the two popup menu will exist, but the smaller one will come to the back of the big one when I click it with the touch screen. if I click the bigger one menu, the smaller one will disappear also.

The video is show the step 1.2.4 https://github.com/user-attachments/assets/659a2eb7-3e5b-4617-808f-62d80c62fcd6

finepeilei commented 2 months ago

Addition information the version of webview2 on the computer: image

finepeilei commented 2 months ago

Any feedback or not?

Master-Ukulele commented 1 month ago

@finepeilei - Thanks for reporting, we are investigating this issue. May I ask what's your preference to the solution? For example, when using the touch screen select text, the app doesn't show context menu (larger one), or the app doesn't show the floating cut/copy/... menu (smaller one), or other behaviors you expected? Additionally, please tell us did you see this issue happening in other apps, like Outlook, Edge browser?