Wanted to see if anyone else might have this issue, and more importantly, if there is a way to fix it.
I have a window (A), which calls another windows (B)...now, while loading window B (in an init procedure and before enable_ui is run) a server side program will be called to load some data...The problem, window B will "disappear" or drop behind Window A. I end up having to click on taskbar, and click on window B to get it to come back to the front.
Is there anyway to stop this?
Try to switch the state of session:immediate-display before calling the window B.
This is an ongoing problem. We remedy this by adding an include file that runs after the enable_ui that puts the focus back to the window.