On Jul 30, 2013, at 10:31 AM, Steve Mills wrote:

> We have some palettes (NSPanel subclasses) that stay visible in fullscreen 
> mode. When the doc window enters fullscreen, I'm moving these the appropriate 
> amount so they're still snapped to the top of the visible portion of the 
> screen. However, something is causing the palettes to move back into the 
> pre-fullscreen screen bounds as if the menubar is still visible. The 
> palette's constrainFrameRect:toScreen: is being called with nil for the 
> screen. If I let the super handle this, it repositions it as if the menubar 
> were still visible. Why? Is that supposed to be standard behavior? If so, I 
> guess I'll override constrainFrameRect:toScreen: so it doesn't do that.

The Apple sample code for fullscreen custom animation overrides 
constrainFrameRect:toScreen: so I assume the default implementation isn't 
fullscreen-savvy.
_______________________________________________

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