Skip to content

Some browsers fail to load files from VFS (only Firefox works correctly) #668

@triuk

Description

@triuk

I created a minimal example of some assets, I'd need in the future and observed that Brave, WebView, and Chromium fail to display the chart and custom slider, and parts of the UI do not function properly. Only Firefox loads everything as expected. The problem occurs on both Windows and Linux.

After checking the developer tools in Chromium, I found that several JavaScript files are not being loaded:

Image

As shown above, files that are supposed to be inside the include directory are missing when running in Chromium-based browsers.

My C++ example project is available here:
https://gitlab.com/uklaad/example-webui-cpp

To reproduce the issue, simply modify the line 22 (show_browser) in src/app.cpp

For reference, the Python version of the same works without any issues across all tested browsers:
https://gitlab.com/uklaad/example-webui-python

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions