When showing an NSSavePanel while the app is in background I get the following error:
RVS:__54-[NSRemoteSavePanel _runOrderingOperationWithContext:]_block_invoke_0319 : Timeout occured while waiting for the window
Remote Window Controller requested NSRequestRetryActivateSharedwindow...
Also, the panel doesn't appear and runModal returns NSFileHandlingPanelCancelButton.
The app is sandboxed. This is the code that creates the panel:
NSSavePanel *panel = [NSSavePanel savePanel];
NSInteger result = [panel runModal];
if (result == NSFileHandlingPanelOKButton)
{
// Do something
}
What might be the problem?
If the app is in the foreground the panel is shown without any error.