NSWindowCollectionBehaviorMoveToActiveSpace has failed me for the last time
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