OutSystems / WebView

Avalonia/WPF control that wraps CefGlue webview control
Apache License 2.0
310 stars 38 forks source link

Webview doesn't show in Avalonia 11 #330

Open tarinnik opened 5 months ago

tarinnik commented 5 months ago

Hi,

I'm using Avalonia 11.0.7 and when I try to load the webview it results in a black screen. If I use WebViewControl version 2.106.10-avalonia11, I just get a black screen and nothing happens, but if I use version 2.117.5-avalonia11 I get a black screen and then the program exits with no errors given in Visual Studio.

I've uploaded the log file, it seems that the GPU process is crashing.

logs.txt

This is the code I'm using to create the webview.

WebView.Settings.OsrEnabled = false;
WebView.Settings.LogFile = "logs.txt";
AvaloniaXamlLoader.Load(this);
((WebView)Content!).Address = "http://example.org";
joaompneves commented 5 months ago

Have you tried the sample app?

tarinnik commented 5 months ago

Yeah the sample app works. Is there an example app for Avalonia 11?

joaompneves commented 5 months ago

This branch -> https://github.com/OutSystems/WebView/tree/avalonia11