4 Replies Latest reply: Dec 1, 2012 11:55 AM by aik099
aik099 Level 1 Level 1 (0 points)

Hi,

 

Button "Gather Windows" in "Display Preferences" should (based on help page) transfer all windows from all connected monitors to one I pressed this button on.

 

However in fact only "Display Preferences" windows from all other monitors are transferred.


MacBook Pro with Retina display, OS X Mountain Lion (10.8.2)
  • 1. Re: Gather Windows button doesn't work
    Wayne Contello Level 6 Level 6 (13,620 points)

    Gather Windows button only applies to System Preferences Display windows that appear on each monitor... NOT all Finder and other windows

  • 2. Re: Gather Windows button doesn't work
    aik099 Level 1 Level 1 (0 points)

    Then it works as expected.

     

    Are the any quick means, like 1 button click to move all windows from other monitors to one, where button is pressed?

     

    For example I've set my external monitor as primary and all windows open on it. Then when I disconnect it all windows automatically move back to internal display.

    However when I reconnect external monitor no windows come back to it (even if it is primary with dock/menu bar displayed).

  • 3. Re: Gather Windows button doesn't work
    Wayne Contello Level 6 Level 6 (13,620 points)

    I am not aware that the Finder retains window position for monitors that do not exist.  You could probably write some script but even that would be a little tricky becuase you cannot promise that any particular Finder window or other application will be running when you run the script to move windows.

  • 4. Re: Gather Windows button doesn't work
    aik099 Level 1 Level 1 (0 points)

    Here is how I managed to do this in Mountain Lion:

     

    Preparations:

    1. open lid on MacBook (if not already)
    2. connect external display
    3. go to "System Preferences -> Displays" -> "Arrangement" tab
    4. uncheck "Mirror Displays" checkbox (notice different wallpaper on each of the monitors)
    5. drag menu bar to external display

     

    Now, when external display is connected all opened windows will be displayed on it (because we've made it primary before). Once you now disconnect external display (no matter if lid is open or closed) all windows will appear on internal display.

     

    Now trick is how to make all windows (from all apps) go back to external display:

    1. close lid (macbook will go to sleep automatically then)
    2. connect external display
    3. open lid (macbook will wake up automatically on Mountain Lion)
    4. login dialog displayed on external display
    5. perform login

     

    Now all windows are back on external display where they were (in a bit smaller size maybe).