Mike, Again you were right !
The data processing was blocking the main queue with large files, so that the Open Panel didn't close immediately. It works now with large data files too by using dispatch_barrier_async() in the init file of my app's WindowController class. I have some deleted threads though with "uncommitted CATransaction" on OS X 10.8.2 only (but not on OS X 10.7.x) to display the graphs… but that could be a bug of the graphs framework…need to check…. Anyway, thanks for all your patience and help. Gilles On 31 Jan 2013, at 17:06, Mike Abdullah wrote: > > On 31 Jan 2013, at 15:06, Gilles Celli <gilles.ce...@ecgs.lu> wrote: > >> Hmm well Mike you were right! >> >> I was too enthusiastic yesterday by claiming that I fixed my Open Panel >> problem… I tried it here on my old Mac Mini with OS X 10.7 and the Open Panel >> still stays open even with my newer code with windowDidLoad tec.…strangely >> enough but at home it did work with my iMac 27" and OS X 10.8.2…will need to >> try tonight… >> >> One possibility is that that large file gets cached, but not really purged…. >> >> I will try the way of subclassing NSDocumentController (I just find out how >> to do it by instantiating my new NSDocumentContoller class into >> MainMenu.nib)… >> Will let you know how it goes….I'm getting mad :-0 > > Seriously, it sounds like you're blocking the main thread. Fix that. There > should be no need to coerce the open panel into disappearing. > _______________________________________________ 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