Re: NSWindow displaying asynchronously starting in 10.11
Re: NSWindow displaying asynchronously starting in 10.11
- Subject: Re: NSWindow displaying asynchronously starting in 10.11
- From: Quincey Morris <email@hidden>
- Date: Mon, 30 Nov 2015 22:11:18 -0800
- Feedback-id: 167118m:167118agrif8a:167118skkZdgvB6j:SMTPCORP
On Nov 30, 2015, at 21:53 , Jerry Krinock <email@hidden> wrote:
>> The correct approach has always been to retrieve the result URL(s) you want, then orderOut: the panel before doing something else in the completion handler
>
> I just tried adding an -orderOut before the 5-second sleep in my demo. Still get a white rectangle for 5 seconds. Weird that the white rectangle is larger than the panel. I think maybe it includes the entire tail of the shadow.
Er, I didn’t say it quite right. If you wanted to display another sheet, you needed to orderOut: the open panel sheet first. That never really helped with unblocking the main thread, though, and a blocked main thread may mean display updates don’t happen.
_______________________________________________
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