Good day!
I've tried out all the samples, I've researched and I've done so many trial and errors I'm at my wits end so might as well ask to see if it this is just futile.
I've been working on a nice little project to create an application environment for my LCARS SDK. Currently I have CEF rendering to the desktop layer so that the view is always below other windows (Windows OS atm only). Everything works perfect, the app so far is running and looking beautiful until I start calling Python functions.
Not a single one of the framework samples worked for creating async python calls from javascript. Even my own setup, which I created just using pywin32, click a button a dozen times to simply return a preset 'test string' back to the webview and the UI essentially locks up till it is done. It isn't a total loc, it is a bit of sputtering and then is fine once the string is returned. I've tried out all the different options I could find here and around the internet and nothing works.
Am I missing something essential and nothing in the docs or samples are providing? Is this just not possible and async calls to python are always going to block the ui? I know Panda3d doesn't have this issue but it utilizes its own task manager and I really don't want users having to load up an entire 3d engine just to use a webview for async python calls.
I can provide code samples if requested. The project will be open source in the end anyway.
-Aricwithana