How to draw a slow task modal window (Slate)

Hi,

I’m making a modal window that does a couple of http requests but when creating a modal window, the HttpManager stops being updated. So, it looks like its intended to set bSlowTaskWindow to true when calling FSlateApplication::AddModalWindow for windows that are more long running and that create http requests but then my modal window doesn’t show anymore. So, if anyone knows how I can make a modal window that is both

  • drawn and works
  • can get results of http requests
    that would be amazing. Note: the http requests go out to the web service correctly but they don’t trigger their OnProcessRequestComplete until the modal window is closed.

Kind regards,
Erik

Hi Erik,

I’m seeing the same issue, did you ever find a solution?

Thank you,
Steve

Well, I think I’ve found the solution:

TSharedPtr RootWindow = FGlobalTabmanager::Get()->GetRootWindow();
FSlateApplication::Get().AddModalWindow(Window, RootWindow, true);
Window->ShowWindow();