• 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
NSWindowCollectionBehaviorMoveToActiveSpace has failed me for the last time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindowCollectionBehaviorMoveToActiveSpace has failed me for the last time


  • Subject: NSWindowCollectionBehaviorMoveToActiveSpace has failed me for the last time
  • From: Chilton Webb <email@hidden>
  • Date: Fri, 09 Oct 2009 11:17:29 -0500

Hi,

I'm trying to wrap my head around what I thought was a simple concept. I created a simple test app to test this.

The source to it can be found here...
http://www.conjurebunny.com/SpaceTest.zip

All it does is...
1) Sets the window collection behavior to NSWindowCollectionBehaviorMoveToActiveSpace
2) Creates a timer, and starts counting down.
3) Activates the window with orderFront:



To test this, load the project, and run it. Then Click the button, and switch to a different space.


I expected it to move the window onto that space when the timer reaches zero. Instead, the space switches.


According to the docs, "Making the window active does not cause a space switch; the window switches to the active space"
According to my simple demo, making the window active causes a space switch, and the window does not switch to the active space.



Am I reading that wrong???

Thank you!
-Chilton
_______________________________________________

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


  • Prev by Date: Re: Changing the edit behaviour of a cell
  • Next by Date: Re: Are these Apple or 3rd party classes? (printing error)
  • Previous by thread: Re: Changing the edit behaviour of a cell
  • Next by thread: dealloc and finalize
  • Index(es):
    • Date
    • Thread