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

What is the browser kernel for walk webview,chrome or others #808

Open
passerbyo opened this issue Jul 17, 2022 · 4 comments
Open

What is the browser kernel for walk webview,chrome or others #808

passerbyo opened this issue Jul 17, 2022 · 4 comments

Comments

@passerbyo
Copy link

No description provided.

@StephanVerbeeck
Copy link

The webview widget uses the native windows browser which still (hidden underneath) is the original internet explorer.
In .NET there is a webview2 which uses a more modern browser kernel but that has not been ported to GOlang WALK (yet).

@harrier77
Copy link

Hello, I found out that WebView is the old explorer engine. Is it possible to update it to the new WebView2?

@StephanVerbeeck
Copy link

StephanVerbeeck commented Feb 26, 2024

Yes and No,
Yes because it is possible (though a lot of work, of which most is testing),
No because the existing webview ALSO can display directories (it is both a file browser and a web browser).

If someone would like to do the work then duly take into account that it must be implement as a "webview2" and not "webview".
Meaning that the existing code and functionality must remain present (I need them) and the new webview will be a SECOND webview rather than replace the existing one.
This is the only way it can be done without affecting existing programs (.NET did it also like that).

However, as long as you don't need rounded corner of fancy javascript, the old webview works fine (e.g. for emails).
But it is not able to render most of the currently existing websites (throws tons of javascript errors).

@harrier77
Copy link

Thank you for your answer. I just finished the compilation of the official sample wxwidget "WebView" and I found out that it is the old webview. So you are right, WebView 2 should be another widget, different from WebView. But it would be very useful to develop a web application with java script. And somewhere in wxwidget documentation there is a hint about enabling WebView 2 . But i am not clever enough to follow it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants