Comments (6)
from webui.
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.
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.
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.
Line 10774 in 9c07d87
from webui.
okay, the dynamic library works now, just not the examples when run as described in OP, thanks
from webui.
Related Issues (20)
- Build ARM CI with TLS HOT 1
- Update Documentation HOT 2
- auto update HOT 3
- Update Wrappers to 2.5.0.Beta.2 HOT 4
- feat: get all available browsers? HOT 2
- Accessibility Request: High Contrast Management HOT 3
- Idea: Development scaffolding similar to front-end HOT 5
- Perhaps the web UI could take inspiration from Blazor HOT 6
- Examples build on ARM for Windows issue HOT 2
- Is webui.js needed when webui_show() is for type WEBUI_SHOW_URL? HOT 2
- example bug, segment fault HOT 1
- webui_wait() returns when device goes to sleep. HOT 3
- Is it possible to embed web resources? HOT 3
- Using zig cc HOT 7
- Strange Behavior HOT 11
- Latest changes makes examples crash on macos HOT 5
- Translating WebUI website HOT 1
- Issues with wait/close HOT 1
- How to wait() twice? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webui.