Only blank white page shows when starting WebUI.
I have the html:
const char html[] = R"(
<!DOCTYPE html>
<html>
<head>
<script src="webui.js"></script>
<title>My First HTML Page</title>
</head>
<body>
<h1>My First Heading</h1>
<p>This is my first paragraph.</p>
</body>
</html>
)";
When I do:
size_t my_window = webui_new_window();
webui_show(my_window, html);
Most of the times I start it up it doesn't show anything. If I keep on restarting my program over and over again occasionally it'll work, like maybe one out of 5 or one out of 10 times. The times it doesn't show it just shows a blank white page and when it does show up it shows the correct html. I am on the newest version of Linux Mint and I only have Firefox installed, so pretty sure that's the browser that's being used.
I remember I had a similar issue with Tauri when using Linux and an GT730 (which is an old card), it was just showing white. That problem ended up being specifically an issue with some NVidia graphics cards on Linux. However now I'm not using that card, I'm using an AMD card. I think these WebUI/Web browser tools are a bit prone to bugs.