• 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: Good behavior with full-screen and NSStatusWindowLevel windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Good behavior with full-screen and NSStatusWindowLevel windows


  • Subject: Re: Good behavior with full-screen and NSStatusWindowLevel windows
  • From: Rick Mann <email@hidden>
  • Date: Tue, 23 Jul 2013 14:36:00 -0700

On Jul 23, 2013, at 01:34 , Ken Thomases <email@hidden> wrote:

> You're probably looking for "window collection behavior".
> Window Programming Guide: Setting Window Collection Behavior
> http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/WinPanel/Articles/SettingWindowCollectionBehavior.html
>
> I'm not entirely sure what you mean by "stick".  The Finder will appear on multiple spaces, but not spaces dedicated to full-screen apps.  I think, but am not sure, that including NSWindowCollectionBehaviorCanJoinAllSpaces but leaving out NSWindowCollectionBehaviorFullScreenAuxiliary will make your window appear on all of the appropriate spaces.

So, there are definitely behaviors in there that will do what my users want, but now the trick is to message it properly. I'd like to have a single UI element in the prefs for adjusting spaces-related behavior. A checkbox labeled "Stay on screen when changing Spaces" might work, for example. I think (although I have not verified this) that it's possible to have the window always move to the active space but still participate in Expose (which the behavior NSWindowCollectionBehaviorStationary, which keeps it always on screen, also prevents.

It seems that choices are mutually exclusive, but they're all individual bits that can be set, so I don't know what the behavior is (e.g. what happens when I set both NSWindowCollectionBehaviorStationary and NSWindowCollectionBehaviorTransient?).

The real trick is finding good wording for the prefs.

--
Rick




_______________________________________________

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: 
 >Good behavior with full-screen and NSStatusWindowLevel windows (From: Rick Mann <email@hidden>)
 >Re: Good behavior with full-screen and NSStatusWindowLevel windows (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Disabling Hot Corners
  • Next by Date: Re: Recomputing non-standard Core Data attributes when child MOC is saved?
  • Previous by thread: Re: Good behavior with full-screen and NSStatusWindowLevel windows
  • Next by thread: Writing portable Cocoa apps (especially data models)
  • Index(es):
    • Date
    • Thread