Re: NSWindowCollectionBehaviorMoveToActiveSpace doesn't work [workaround]

2009-11-22 Thread slasktrattena...@gmail.com
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

Re: NSWindowCollectionBehaviorMoveToActiveSpace doesn't work

2009-11-20 Thread slasktrattena...@gmail.com
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

Re: NSWindowCollectionBehaviorMoveToActiveSpace doesn't work

2009-11-15 Thread slasktrattena...@gmail.com
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