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

Webview doesn't show in Avalonia 11 #330

Open
tarinnik opened this issue Jan 25, 2024 · 3 comments
Open

Webview doesn't show in Avalonia 11 #330

tarinnik opened this issue Jan 25, 2024 · 3 comments

Comments

@tarinnik
Copy link

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
Copy link
Collaborator

Have you tried the sample app?

@tarinnik
Copy link
Author

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

@joaompneves
Copy link
Collaborator

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

2 participants