Open charleypeng opened 1 year ago
p.s, on windows, when click other tabitem and click back , the blazorwebview control seems to be disposed, and disappeared.
This is a bug in linux, I found that webview can not be used together with Avalonia's controls, but I do‘t know the specific reason
This is a bug in linux, I found that webview can not be used together with Avalonia's controls, but I do‘t know the specific reason
I am reading the code and going to ask the avalonia community later
I couldn't get the sample to work on Linux without any change. I also get the "(WebViewSample.Desktop:13953): Gtk-CRITICAL **: 22:57:54.225: gtk_widget_realize: assertion 'widget->priv->anchored || GTK_IS_INVISIBLE (widget)' failed"
Have the same issue. Is a solution planned?
I couldn't get the sample to work on Linux without any change. I also get the "(WebViewSample.Desktop:13953): Gtk-CRITICAL **: 22:57:54.225: gtk_widget_realize: assertion 'widget->priv->anchored || GTK_IS_INVISIBLE (widget)' failed"
this seems to be a scaling issue which may be fix in the next release of avalonia, let's just try the pre release
I couldn't get the sample to work on Linux without any change. I also get the "(WebViewSample.Desktop:13953): Gtk-CRITICAL **: 22:57:54.225: gtk_widget_realize: assertion 'widget->priv->anchored || GTK_IS_INVISIBLE (widget)' failed"
maybe this is the error for webview api(realize)
os: ubuntu22.04 avalonia:11.0.0.1 BlazorWebview.Avalonia:11.0.0.1
I just added an basic razor page and when using single
<BlazorWebView HostPage="wwwroot/index.html"></BlazorWebView>
works just fine,
but when wrap it into a tabcontrol it failed
`
`
however, on windows it works fine, but on linux it shows error below: