On Aug 19, 2009, at 8:47 AM, MT wrote:

I've got a problem with my app, some of the windows do not behave correctly
with 'Spaces', I've narrowed it down to this...

If the window is backed by an NSDocument, it behaves correctly, i.e. if this window is active within the application, when the user clicks on the dock
icon, the Space will be switched automatically.

If the window is *NOT* NSDocument based, the Space does not get switched
automatically.

I've tried the setCollectionBehaviour: method, but it's doesn't make any
difference. How can I make the window behave like NSDoc ones?

Is your window configured so that it can become main? What about key? You could experiment with those to see if they change the behavior of Spaces.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to