On Wed, 14 Aug 2013 09:03:59 -0500, Steve Mills said:

>There most certainly is not a deeper issue with my code. Run this and
>you'll see for yourself:
>
>-(IBAction) openDocument:(id)sender
>{
>       NSOpenPanel*                    p = [NSOpenPanel openPanel];
>       
>       if([p runModal] == NSFileHandlingPanelOKButton) {
>               [p orderOut:self];
>               // Simulate code that takes 5 seconds to open a document:
>               sleep(5);
>       }
>}

Are you able to try that on 10.6?  I had some similar problems starting with 
10.7 because of the document architecture re-architecting.  A lot of the 
openDocument chain is now done (internally) with libdispatch which had some 
subtle side effects like you describe.  I had to use a DTS incident on it 
eventually.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to