Skip to content

Webview not working on Linux #20

@Simon-Thompson

Description

@Simon-Thompson

Hi, I've created a simple test project with a main page that sets a webview browser as its content. On Windows, it works perfectly fine, but on Linux, I get the following error, and no webview is rendered:
Gtk-CRITICAL **: 16:12:14.372: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed

If I switch out the webview for any other kind of content, it runs fine. I followed the steps you describe in the faq and installed libwebkitgtk-dev, but no luck. I've also looked at your Movies sample project and reproduced the configuration for webview I saw there, to no luck.

Details:

  • Platform: Ubuntu 18.04
  • mono-devel 5.20.1.19
  • libgtk2.0 2.24.32
  • libwebkitgtk-dev 2.4.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions