Steffen André Langnes
Steffen André Langnes
Have you tried to call bind `Bind` (and `Init`) *before* `SetHtml`?
I can't see that any of the destructors in the core library make an attempt at closing the window so this may affect more platforms and possibly all of them....
I would like to clarify something now that I am looking a bit more into this. In the example code you provided, the library manages the main loop, but by...
Would being able to control the visibility of the window be a satisfactory solution? That way you could hide/show the window instead of closing and recreating it.
Maybe you need to set `CGO_ENABLED=1`?
It's a good idea but it's something that must be solved in the [core webview library](https://github.com/webview/webview). I can see that we have a compile-time check near the usage of `webkit_javascript_result_get_js_value`...
I didn't immediately think of that. It makes things more complicated than I first imagined because the 4.1 API appears to only be available for the most recent Linux distros...
In the core library I observed that using `webkit_web_view_evaluate_javascript` on Ubuntu 22.04 is possible even when linking `webkit2gtk-4.0`. Conditionally compiling this function or the other one will definitely get rid...
`webkit2gtk-4.1` is the same as `webkit2gtk-4.0` except that 4.1 uses `libsoup3` while 4.0 uses `libsoup2`. They can't co-exist in the same program so hardcoding one or the other in a...
Thanks for taking the time to answer all of my points! This is a bit long but I would like to give a proper response. > > * I suggest...