Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #1521

HTMLViewer ignores BaseURL for HTML strings on Windows

Status
Fixed
Fixed in
v26.9.3
Area
desktop
Source discussion
https://forum.objo.dev/d/1134-htmlviewer-how-to-include-an-image-on-a-folder
Last updated
2026-09-20

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

On Windows, the HTMLViewer BaseURL property and the two-argument HTMLViewer.LoadHTML(html, baseURL) method have no effect. Relative resources inside HTML loaded from a string — images, stylesheets, links — are never resolved against the supplied base URL, so documents whose relative assets work on macOS and Linux show missing assets on Windows. The documentation promises that BaseURL is the absolute base URL used when loading HTML strings with relative links or assets, with no platform caveat.

Expected behaviour: BaseURL resolves relative links and assets in HTML strings on every platform.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.