walk icon indicating copy to clipboard operation
walk copied to clipboard

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

Open passerbyo opened this issue 2 years ago • 4 comments

passerbyo avatar Jul 17 '22 08:07 passerbyo

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).

StephanVerbeeck avatar Dec 01 '22 13:12 StephanVerbeeck

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

harrier77 avatar Feb 24 '24 20:02 harrier77

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).

StephanVerbeeck avatar Feb 26 '24 07:02 StephanVerbeeck

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.

harrier77 avatar Feb 27 '24 00:02 harrier77