• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Palettes not taking advantage of fullscreen mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Palettes not taking advantage of fullscreen mode


  • Subject: Re: Palettes not taking advantage of fullscreen mode
  • From: Lee Ann Rucker <email@hidden>
  • Date: Tue, 30 Jul 2013 11:50:54 -0700

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 (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


  • Follow-Ups:
    • Re: Palettes not taking advantage of fullscreen mode
      • From: Steve Mills <email@hidden>
References: 
 >Palettes not taking advantage of fullscreen mode (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Mixing Obj-C and C "methods"
  • Next by Date: Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work
  • Previous by thread: Palettes not taking advantage of fullscreen mode
  • Next by thread: Re: Palettes not taking advantage of fullscreen mode
  • Index(es):
    • Date
    • Thread