For anyone interested, here's my workaround.
Problem: NSWindow's
setCollectionBehavior:NSWindowCollectionBehaviorMoveToActiveSpace
doesn't work.
Fix: Subclass NSWindow, override makeKeyAndOrderFront: (and/or
orderFront:, orderBack:, depending on your needs).
- (void) makeKeyAndOrderFront:(id)sen
Hum, no. I was wrong. [self setCollectionBehavior:1] means "can join
all spaces". Any ideas how to get
NSWindowCollectionBehaviorMoveToActiveSpace to work?
Again, test app here demonstrates the problem:
http://lists.apple.com/archives/cocoa-dev/2009/Oct/msg00647.html
On Sun, Nov 15, 2009 at 8:12
This appears to be a bug. I found that whereas calling
[self setCollectionBehavior:NSWindowCollectionBehaviorMoveToActiveSpace];
has no effect,
[self setCollectionBehavior:1];
produces the desired behavior. I'll file a radar.
/f
On Sun, Nov 15, 2009 at 7:31 PM, slasktrattena...@gmail.com
wro