Unable to display apps in browser on Windows 11 IoT LTSC

Just starting out? Need help? Post your questions and find answers here.
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Unable to display apps in browser on Windows 11 IoT LTSC

Post by Quin »

I appologise that I don't have more specific information about this, but I'm unable to test/run my SB apps on Windows 11 IoT LTSC (24H2). I press F5 and see the outline of the debug output window, and that's it. No web view, no external browser, no actual debugger, etc.
Is there something I can provide that may give some insite?
Thanks.
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by Quin »

It all fully works on Windows 10 22H2, both opening firefox/edge externally and using the built-in IDE tool (it opens as a window on my taskbar). Both machines are using SB 3.00 (x86). I'm not using the exact same configuration file, but I don't see any settings that could possibly be causing this.
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by Fred »

If you remove the WebView tool from the panel (in preferences) it should open the default browser. May be the WebView2 component isn't installed on iot ?
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by Quin »

Just confirmed that opening in the default browser does indeed work fine, so it's something with the built-in webview. It's far past bedtime here (have already been putting it off for at least an hour) so don't have time tonight to hunt down the Webview runtimes, would someone mind pointing me at them to try later?

Side note (maybe this should go in feature requests), but an item in the compiler menu to force open in the default browser may be nice too :idea:
plouf
Posts: 295
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by plouf »

now you know the problem, could you try try install webview2 separate -> https://developer.microsoft.com/el-gr/m ... ad-section

to check if it works after ?
Christos
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by Quin »

It turns out my system already had the edge runtimes, and that didn't fix the issue :(
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by Fred »

I guess you will need a regular windows for this, the IOT version seems to be very specific (and I can't test it). Why do you use it for dev ?
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by Quin »

Quite a few reasons, from being able to control exactly when and how I get Windows updates to not getting any bloatware to getting support into the 2030s without needing to update Windows.
I'm quite deticated to IoT LTSC by now, I'll do more testing and see if I can make this work.

P.S.: it's fairly easy to find IoT LTSC images. Massgrave is where I get mine :)
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by Quin »

Update on this.
The following PB code:

Code: Select all

OpenWindow(0, 0, 0, 400, 200, "Test")
WebViewGadget(0, 10, 10, 350, 150)
SetGadgetText(0, "https://google.com")

Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
works just fine on an Asus Vivobook running 24H2 IoT, but the webview within the IDE does not.
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: Unable to display apps in browser on Windows 11 IoT LTSC

Post by Fred »

May be a port issue ? Try to change the port in the prefs (should be 9080 as default)
Post Reply