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]: There show two pop up menu when select all content use touch screen #4737

Closed
finepeilei opened this issue Aug 12, 2024 · 10 comments
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@finepeilei
Copy link

finepeilei commented Aug 12, 2024

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 finepeilei added the bug Something isn't working label Aug 12, 2024
@finepeilei
Copy link
Author

image

@victorhuangwq
Copy link
Collaborator

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

@victorhuangwq victorhuangwq added the tracked We are tracking this work internally. label Aug 12, 2024
@finepeilei
Copy link
Author

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

@finepeilei
Copy link
Author

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
Copy link
Collaborator

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
Copy link
Author

finepeilei commented Aug 14, 2024

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
Copy link
Author

Addition information the version of webview2 on the computer:
image

@finepeilei
Copy link
Author

Any feedback or not?

@Master-Ukulele
Copy link

@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?

@sivMSFT
Copy link

sivMSFT commented Nov 20, 2024

Hi @finepeilei, the bug is resolved with the 1.0.2950-prerelease version.

Please let us know, if you are still facing the issue.

@sivMSFT sivMSFT closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

4 participants