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

Disabling the Edge "Mini Menu" #2140

Closed
Flaflo opened this issue Feb 7, 2022 · 6 comments
Closed

Disabling the Edge "Mini Menu" #2140

Flaflo opened this issue Feb 7, 2022 · 6 comments
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@Flaflo
Copy link

Flaflo commented Feb 7, 2022

I haven't found anything pointing to a method on how to disable the mini menu for the text selection inside webview2. Is this even possible?

Thanks in advance!

AB#38096445

@Flaflo Flaflo added the question label Feb 7, 2022
@xFrienDx
Copy link

xFrienDx commented Feb 8, 2022

Hi, I also need to disable this feature for my webview2 based desktop application.

@champnic champnic added bug Something isn't working tracked We are tracking this work internally. and removed question labels Feb 8, 2022
@champnic
Copy link
Member

champnic commented Feb 8, 2022

I believe this should probably be OFF by default for WebView2. I've opened this as a bug on our backlog to look into. Thanks!

@champnic
Copy link
Member

champnic commented Feb 8, 2022

As a workaround, you can set EnvironmentOptions AdditionalBrowserArguments during initialization to "--disable-features=msWebOOUI,msPdfOOUI" to turn this off for websites and PDFs.

@salvadordf
Copy link

@champnic sorry to hijack this issue but is there any official list of all those "ms*" features that you just mentioned and their meanings?

@champnic
Copy link
Member

Hey @salvadordf - Unfortunately there isn't. These flags aren't super well supported, which is why we only offer them as workarounds while we look into building a proper API to support the feature. You can look for "base::Feature" in the Chromium code base to find loads of different ones though:
https://source.chromium.org/search?q=base::Feature

@Master-Ukulele
Copy link

Hello,

A PR has been checked in recently, which disabled the "Mini Menu" by default in WebView2. The feature in both webpage and Pdf are OFF as default now. The update should be a part of the next release.

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

5 participants