Re: NSWindow
Re: NSWindow
- Subject: Re: NSWindow
- From: Martin Wierschin <email@hidden>
- Date: Mon, 30 Nov 2015 17:34:23 -0800
> On 1 Dec 2015, at 5:23 AM, Jerry Krinock <email@hidden> wrote:
>
> 1. Create a NSWindow, send it a -display message, and then in that same run loop cycle execute some task of noticeable duration. In 10.10, the window will appear on the screen before the task starts. In 10.11, the window does not appear until after the task is complete.
I don’t know anything about manually calling -display, but I have seen that the behavior of -[NSWindow orderFront:] has changed on OSX 10.11. Now when you order a window to the front, it won’t actually be made frontmost until some delay has expired; the list returned by -[NSApplication orderedWindows] is also not updated immediately.
Also, possibly related, OSX 10.11 completely broke -[NSWindow orderWindow:relativeTo:]. It now does nothing:
http://www.openradar.me/22064080
The same bug bit me and some of my apps, so I filed a duplicate.
~Martin Wierschin
_______________________________________________
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
References: | |
| >NSWindow (From: Jerry Krinock <email@hidden>) |
| >Re: NSWindow (From: Shane Stanley <email@hidden>) |