You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code in an application of mine throws an exception on Eto 2.8.0 and above
Uri changelogUri = new Uri("https://am2r-community-developers.github.io/DistributionCenter/changelog.html");
WebView changelogWebView = new WebView { Url = changelogUri };
Stack trace:
The type initializer for 'NMLinux' threw an exception.
*****Stack Trace*****
at Eto.GtkSharp.NativeMethods.NMLinux.webkit_web_view_new()
at Eto.GtkSharp.NativeMethods.webkit_web_view_new()
at Eto.GtkSharp.Forms.Controls.WebViewHandler..ctor()
at Eto.GtkSharp.Platform.<>c.<AddTo>b__12_61()
at Eto.Widget..ctor()
at Eto.Forms.BindableWidget..ctor()
at Eto.Forms.Control..ctor()
at Eto.Forms.WebView..ctor()
Notably, this did not happen on Eto 2.7.5
.NET version: 8
Platform: GTK
Operating system: Can reproduce on Arch Linux and nixOS
The text was updated successfully, but these errors were encountered:
Hey @Miepee thanks for filing the issue. The only changes between 2.7.5 and 2.8.0 that would have caused this is your PR: #2482. Perhaps you should revert it or maybe it just needs other changes to handle other distros?
Ah, somehow I did not see that PR when trying to search in the changelog.
Unsure about reverting right now. Due to lack of reports regarding this, I don't know whether it just works for other people, or whether "no one" is using webviews on linux.
I'll try to get some time soonTM to figure out why that happens.
The following code in an application of mine throws an exception on Eto 2.8.0 and above
Stack trace:
Notably, this did not happen on Eto 2.7.5
.NET version: 8
Platform: GTK
Operating system: Can reproduce on Arch Linux and nixOS
The text was updated successfully, but these errors were encountered: