HTML Viewer WebKit renderer - Debug and Build

Hello,

I am working with XOJO 2017r3 and I need to use HTMLViewer with WebKit renderer.
HTML file is stored in SpecialFolder.Temporary and loaded using viewer.loadPage(html_file).
But, page is loaded correctly only in debug version.

Left window is debug and right window is built app.

What is the difference between debug and build, and is there any way to make it work?
Tried also in XOJO 2021r3, with same results.

Thank you

Are-you sure it stays enough time for your application to load it ?

Move the file elsewhere (Documents for example).

I tried moving to SpecialFolder.Documents. result is same. HTML file is created from my app before loading, so it should be long enough to be loaded, even in Temp folder.

Have-you checked the FolderItem in the debugger; sometimes we got surprise (two spaces, a typo, … wrong FolderItem Reference - yes, I do that no longer than yesterday-)

Yes, I tried in the debugger, and added logging, so I can see in build version if everything is same, there is no difference between build and debug when it comes to html file content, to access with Folderitem,… If there is an issue in html file, then it appears it is only problematic in build.

What is the message you do get? Translating that would be significantly helpful for us to help you.

Hello Tim,
I am not getting any message, or exception when loading html, but as you can see in attached picture in my original question, in built version, it is not loaded correctly. Left window is showing debug version and there, html is loaded correctly, as it should.
HTML file has player (with 3 .js files) and few divs with paragraphs.

You are getting this message, but I do not speak the language, and OCR hasn’t turned up a useful translation:

Translation:
BELGRADE WINS AND THE RUSSIAN FLAG FLIES IN FREEDOM]

I used Sequoia LiveText and translate.google.

With macOS and HTMLViewers, it’s possible to enable the Developer Extras debugger (so you can right-click and view source, look at the javascript console, etc.)

Can that be done with the Webkit/Chromium renderer in Windows?

That’s what I got using a different toolchain, but didn’t consider it useful.

It does seem logical that this could just be the headline / title of the video though, and the only problem is the video didn’t load (which is not how this problem was described).