• 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
Re: Moving a window to another Spaces space?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving a window to another Spaces space?


  • Subject: Re: Moving a window to another Spaces space?
  • From: "Tim Conkling" <email@hidden>
  • Date: Sun, 16 Mar 2008 14:21:38 -0700

Good guess! This works, with a few weirdnesses:

- It occasionally breaks window layering in a strange way (the window
doesn't necessarily stay on top across space switches).
- Saving and restoring the collection behavior produces strange
results if the application is already set to appear in "Every Space".
In this case, windows still report NSWindowCollectionBehaviorDefault
as their current collection behavior, but after my custom drag loop
completes, when a window's collection behavior is restored to its
pre-drag "NSWindowCollectionBehaviorDefault" value, the window will no
longer belong to every space.

I guess I could try to determine the application's space assignment
before attempting this collectionBehavior juggling -- anyone have
ideas of how I might go about that?

On Sun, Mar 16, 2008 at 12:46 PM, Charles Steinman
<email@hidden> wrote:
>
>
>  --- Tim Conkling <email@hidden> wrote:
>
>  > If a user clicks and holds on the title bar of a
>  > window while
>  > switching spaces in Leopard, the window will be
>  > carried to the
>  > switched-to space.
>  >
>  > Is there any way to duplicate this functionality? (I
>  > have a custom
>  > window dragging loop, and my windows are being left
>  > behind if a user
>  > switches spaces during a drag.)
>
>  As a totally untested guess, you might try setting the
>  window's collection behavior to
>  NSWindowCollectionBehaviorCanJoinAllSpaces while
>  you're dragging and then set it back to the default
>  when the drag ends.
>
>  Cheers,
>  Chuck
>
>
>
>       ____________________________________________________________________________________
>  Never miss a thing.  Make Yahoo your home page.
>  http://www.yahoo.com/r/hs
>
_______________________________________________

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

  • Follow-Ups:
    • Re: Moving a window to another Spaces space?
      • From: "Kyle Sluder" <email@hidden>
References: 
 >Moving a window to another Spaces space? (From: "Tim Conkling" <email@hidden>)
 >Re: Moving a window to another Spaces space? (From: Charles Steinman <email@hidden>)

  • Prev by Date: Re: Another newbie, into and cry for help...
  • Next by Date: Re: Another newbie, into and cry for help...
  • Previous by thread: Re: Moving a window to another Spaces space?
  • Next by thread: Re: Moving a window to another Spaces space?
  • Index(es):
    • Date
    • Thread