Hi Guys,
It looks like that ThreadWithProgressWindow do not open on the active window in plugin mode when there is no associated component.
It open in the window where the plugin UI was first open in.
It uses TopLevelWindow::getActiveTopLevelWindow() but it do not seems to do the trick.
Does this rings a bell ?