I’m working on my first Xojo xplat application. Currently it has two Windows with a Movable Modal Window as first window at launch. This is a simple login window which uses URLConnection subclass to post a login request against a remote API. This validates the login and if successful returns 200 with a JSON Payload.
I have a ContentReceived Event handler which then checks the payload response and records it’s values then does a:
“MainWindow.show” to show the next window. On the called window there is an Open event which closes the login window. This works fine on MacOS, Linux, Raspberry PI but on Windows 10, it’s hanging and becomes unresponsive immediately upon the window show command.
I’ve tried creating a different window with no events and a single button on it and showing that, same result. If I replace the show with a msgbox it’s fine. Something about the window show is the issue.
Again, I’m calling this from a URLConnection subclass ContentReceived event.
If I change the login button action event to skip the call to the login, and just show the window, it’s working fine.
So something specific to the call from the URLConnection event on Windows 10 (only version I have handy at the moment) is creating the issue.
Any ideas? I’m going to try swapping out the URLConnection with MBS CURLS to see if this goes away as my next step but if anyone has any ideas on what, if anything, I’m doing wrong here, let me know.
Windows 10 Enterprise LTSC / 1809
I’ve tried remote debugging first then moving towards installing Xojo on this windows and trying locally, it’s reproducible whichever way.