Code Monkey home page Code Monkey logo

Comments (6)

hassandraga avatar hassandraga commented on July 29, 2024

image

from webui.

hassandraga avatar hassandraga commented on July 29, 2024

The g_signal_connect_data() causes gtk_init() to crash in Dynamic version of WebUI, while it works fine in the static version.

WebUI does not depend on installing GTK headers devl package to build, we just look for GTK libs and we load symbols directly... probably that what causes the crash for the dynamic version, and probably using the proper headers may solve the issue, but this will force any one want to build WebUI to install GTK headers first... However, because the mean goal of WebUI is to use a web browser as GUI and be portable as possible, I just then disabled the WebView in the dynamic version of WebUI in Linux for now. Hopefully someone can patch it with a better solution or a fix in the future.

Thank you @garlic0x1 for the report.

(9c07d87).

from webui.

garlic0x1 avatar garlic0x1 commented on July 29, 2024

Okay, I just pulled and the minimal example still doesn't work with WEBUI_USE_TLS=1, it seems like the same issue as this which was previously fixed #379, also I have GTK headers installed on my machine.

from webui.

hassandraga avatar hassandraga commented on July 29, 2024

Please make sure to re-build the lib and the example, normally if you run ./main-dyn it will ignore WebView and load the web browser instead.

from webui.

hassandraga avatar hassandraga commented on July 29, 2024

webui/src/webui.c

Line 10774 in 9c07d87

printf("[Core]\t\t_webui_wv_show() -> WebUI dynamic version does not support Linux WebView\n");

from webui.

garlic0x1 avatar garlic0x1 commented on July 29, 2024

okay, the dynamic library works now, just not the examples when run as described in OP, thanks

from webui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.