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

Any Chance of a "WebView2 Lite" Version? #2637

Closed
protegesolutions opened this issue Aug 1, 2022 · 3 comments
Closed

Any Chance of a "WebView2 Lite" Version? #2637

protegesolutions opened this issue Aug 1, 2022 · 3 comments
Assignees
Labels
feature request feature request tracked We are tracking this work internally.

Comments

@protegesolutions
Copy link

protegesolutions commented Aug 1, 2022

The issue we are facing is that WebView2 is, bluntly, unwieldy and complicated in comparison to the old dead-easy-to-implement WebBrowser .NET Framework control. Embedding WebView2 within a single file class library appears to be next to impossible, at least without a lot of hoop jumping, mainly due to the unmanaged WebViewLoader dlls. In cases like ours where the browser isn't a core component of the solution (initial oAuth2 authorization, for example), a "lite" version of a browser control that is a small single file reference without dependencies (and no external runtimes, etc required) would be a blessing. Aka, an updated WebBrowser control that supports CSS3 and Javascript would be all that we - and I think a lot of other people - would need.

We have looked at upgrading from WebBrowser to several alternatives including WebView, CefSharp, Gecko, etc and none are ideal for various reasons. (WebView suffers from an inexplicable inability to function with elevated rights.) So a stripped down version of WebView2 might be a winner.

AB#40760906

@protegesolutions protegesolutions added the feature request feature request label Aug 1, 2022
@victorthoang victorthoang added the tracked We are tracking this work internally. label Aug 3, 2022
@victorthoang
Copy link

Thanks for the feedback! We've added this as a scenario on our backlog!

@aluhrs13 aluhrs13 self-assigned this Aug 24, 2022
@aluhrs13
Copy link
Contributor

@protegesolutions - Can you be more specific in what you're actually looking to minimize? You're combining a lot of things and it's difficult to parse what you're looking for.

A few key points:

For something like OAuth, I believe most apps use the user's preferred browser, is a WebView needed for that case? Also, despite IE's deprecation, the WebBrowser control isn't going anywhere, so you can continue to use it if it's meeting your needs.

@aluhrs13
Copy link
Contributor

Closing due to inactivity.

@aluhrs13 aluhrs13 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

3 participants