Re: NSDocument's Open File Panel unresponsive when opening large file from disc
Re: NSDocument's Open File Panel unresponsive when opening large file from disc
- Subject: Re: NSDocument's Open File Panel unresponsive when opening large file from disc
- From: Mike Abdullah <email@hidden>
- Date: Thu, 31 Jan 2013 16:06:53 +0000
On 31 Jan 2013, at 15:06, Gilles Celli <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden