Spaces confusing safari windows (on multiple spaces using command-tab)

Wondering if this is happening to anyone else.
I love spaces but something is messed when using safari windows on multiple spaces. Say I have two safari windows open on two different spaces, after command-tabbing to another app when I try to command-tab back to safari it doesn't always go to my last safari window. That is to say that sometimes it goes to the other safari window, and sometimes it doesn't. It's super unpredictable.
Give it a try, open two safari windows on two different spaces and the command tab to another app and then command tab back to safari - and repeat... you'll find that it will just randomly go to the other window, and then back etc.
Can't think of anything more annoying in spaces... that's got to be a bug.
Anyways, let me know if it's happening to you.
Jay.

same issue. i have multiple safari windows with multiple tabs on multiple spaces. let's say one space is a rails space; so it has some terminals, safaris, firefoxes, all perhaps with 2 or more tabs. command-tab does not necessarily go back to the window of the app i was just in. whether it's safari or firefox or whatever. this is horribly un-intuitive. come on apple. that's like your thing, right?

Similar Messages

  • Tile Safari Windows in Current Space

    Hello everyone,
    I'm trying to fix this apple script to only work on the windows in the current Space.
    --When in Safari, the coordinates {0,0} refer to the upper corner not including the menubar.
    tell application "Safari"
    -- For some reason Safari has two invisible windows
    set allWindows to (every window where visible is true)
    set n to (count of allWindows)
    -- Determine screen size of your machine
    tell application "Finder"
    set screenSize to bounds of window of desktop
    set screenWidth to item 3 of screenSize
    set screenHeight to item 4 of screenSize
    end tell
    -- Dividing by zero is bad
    if n is equal to 0 then return
    set windowWidth to screenWidth / n
    if (n > 0) then
    activate
    set x to 1
    -- Position each window in turn
    repeat
    tell window x
    set bounds to {windowWidth * (x - 1), 0, windowWidth * x, screenHeight}
    end tell
    set x to x + 1
    if x is equal to (n + 1) then exit repeat
    end repeat
    end if
    end tell
    The problem is that if I have multiple safari windows open, the variable allWindows is set to the number of safari windows in every space combined. I only want to tile the windows in the current space, and if I use this script as it is now it will tile them, but it will set their widths to allow for all windows in every space to be tiled along side. This leaves more empty space depending on how many other windows I have open.
    Does anyone know how to test how many windows are only in the current space?
    I'm terrible with Applescript, so specifics will be very much appreciated.
    Thank you.

    Hello,
    Thank you for your reply, Pierre.
    Just in case anyone is wondering, I didn't write this script, I found it somewhere online and then promptly forgot where. However, it doesn't work very well if I have other windows in other spaces, so I wanted to see if I could figure it out.
    It's still not working correctly, it seems to work the same way as before:
    --When in Safari, the coordinates {0,0} refer to the upper corner not including the menubar.
    set theTargetIDs to {}
    tell application "Safari"
    set theIDs to id of every window
    set theIDs to reverse of theIDs -- to keep the initial stacking order
    repeat with thisID in theIDs
    set index of window id thisID to 1 -- try to change the index value
    if index of window id thisID is 1 then -- the window is in the current space
    copy (thisID as number) to the beginning of theTargetIDs
    end if
    end repeat
    theTargetIDs -- from front to back - the windows that are in the current space
    set n to (count of theTargetIDs)
    -- Determine screen size of your machine
    tell application "Finder"
    set screenSize to bounds of window of desktop
    set screenWidth to item 3 of screenSize
    set screenHeight to item 4 of screenSize
    end tell
    -- Dividing by zero is bad
    if n is equal to 0 then return
    set windowWidth to screenWidth / n
    if (n > 0) then
    activate
    set x to 1
    -- Position each window in turn
    repeat
    tell window x
    set bounds to {windowWidth * (x - 1), 0, windowWidth * x, screenHeight}
    end tell
    set x to x + 1
    if x is equal to (n + 1) then exit repeat
    end repeat
    end if
    end tell
    Am I missing something? I don't think that script is selecting only the windows in the current space- it's still tiling in every space. Can you take a look?
    Sorry for my incapability to help myself. :S
    Thank you.

  • I would like to open different Safari windows in different Spaces

    I would like to be able to open different Safari windows in different Spaces. They guy at the Apple store told me this was impossible, but I am 99% sure that I accidentally had it working this way before I realized what Spaces was, but now that I have set my Spaces preferences, I cannot get it to work for me.
    Ideally, my husband could use one space - he only uses Safari. And I could use the other Spaces for my various applications, including Safari.
    Any suggestions appreciated!

    I do it as follows.
    I don't have Safari assigned to any (or all) spaces. I don't have the little checkbox checked at the bottom of Spaces preferences ("When switching to an application...").
    In a given space I click on Safari in the dock. This makes it the active application. Of course, if a window is already open in that space it will come to the front. But suppose there isn't a window open. I then ask for a new window (via the File menu, or via command-n). Voila. That window is in that space. You can do this in any space and the windows stay where you created them.
    (A shortcut is simply to control-click on the Safari dock icon and select "New Window".)
    charlie

  • HT1343 how do I switch between windows in the same programme?  I know that I can use Command tab, however this takes you through all of the programmes that I'm using. What I need to do is have a shortcut to switch between windows in the same programme.

    how do I switch between windows in the same programme?  I know that I can use Command tab, however this takes you through all of the programmes that I'm using. What I need to do is have a shortcut to switch between windows in the same programme.  For example if I'm in Excel and have 5 windows open I want to be able to scroll between each window of Excel only with a shortcut.
    Please help!

    Command and ~ keys to tab between open windows.
    Technically it is the Grave Accent ` (aka reverse quote) under the tilda ~ key.  Tilda ~ is shifted, and Grave Accent ` is not.
    Command-Grave Accent

  • Using command tab for application switcher no long cycles through all apps

    Using command tab for application switcher use to work as it always has before Lion, and did in Lion for a few days. Now it stops at the last app. It always use to keep cycling through through all the apps. I figure I did something, but cannot figure out what. I have tried old tricks like force quitting dock using Activity Monitor, but that didnt work. Tried restarting, repairing permissions, and a new user account. I will great appreciate anyones help with this.
    Thanks,
    Mark C.

    I was going to post my experience about application switcher as well, but i have the opposite problem: in SL it never worked, but now in Lion it does. Since I upgraded by installing over Lion, I'm assuming there must be a setting somewhere for this behavior. There is a place for setting keyboard keystrokes, looking there may help.

  • Showing a window in multiple Spaces

    When I use the equivalent of Spaces in Ubuntu, I can pin a window to the screen so that it appears in multiple Spaces. Can I do this in OS X?

    in spaces preference you can assign an application to "every space". this will make every window of this application appear in every space. you can not do it with just one window though.

  • Resizing Safari Window causes blank space

    When I resize a safari window using the corner (bottom right) it leave a blank space if I make he page bigger and doesnt fill the page at all unless i press refresh.

    .oO(CJR 2007)
    >I'm pretty new to website design and this might seem very
    basic, but how is it
    >possible to resize a browser window automatically to fit
    the content on my page
    >using Dreamweaver CS3?
    You should rather make the site fit the browser window.
    > The content of my page is 700px by approximately 650 but
    I want the browser
    >window to show just this content and not the blank space
    surrounding it.
    Resizing the browser window is considered _very_ rude, if it
    will work
    at all - modern browser prevent such abuse of JavaScript.
    You should more concentrate on the content and the usability
    of the site
    to attract visitors. Keeping the layout flexible is usually
    the best way
    to go. But even if it has to be a fixed-width layout, you
    shouldn't mess
    with the user's browser settings, but for example center the
    entire site
    in the browser. Solutions for that are posted here every
    second day.
    Micha

  • Can someone tell me why Safari windows follow from space to space?

    I open a new space via Mission Control.  I want to have only a couple terminal windows in there.  For some reason Safari windows follow me when I switch from one space to another.  Why is this?  It doesn't happen with email, Firefox, or any other application.  Is there some setting that got flipped inadvertently?  I know this will sound strange but this happened today when updating to IOS 5 and my OS X Lion was updated too.
    Note that when there's at least 1 Safari window in full screen I can create another, put it in non-full screen mode and Safari windows will NOT follow spaces.

    right-click or hold-down after clicking on Safari in your dock -- look at options > Assign to
    It sounds like you have 'all desktops' selected there.
    Choose 'this desktop' or 'none'

  • Spaces: create new window makes same Space slide in

    I"m just starting to try to use Spaces, after seeing the clear benefit to it.
    I have Space 1 set up with a couple of finder windows to make moving things around easy and in Space 2, I also want Finder windows, but when I hit CMD-N to create one, I'm sent back to Space 1 and a new window is created there!
    Also, if I create a new folder on the desktop in Space 2, then open it, I am also taken back to Space 1 where that folder opens.
    this tells me that I'm not going to get what I need, or that I just don't yet fully understand Spaces.. can somebody shine a light on this for me?
    is it that Finder is either assigned only to that first Space, or to All?
    My goal is to have Spaces where both Applications and Finder windows reside.
    thank you!
    r
    Message was edited by: RaySkater
    Message was edited by: RaySkater

    I think you want the Finder assigned to all Spaces so new finder windows will open in the current Space you are in. To assign the Finder to all Spaces, it is not quite as straight forward as assigning other apps to all Spaces.
    Do this to assign the Finder to all Spaces:
    1. Go to the Spaces tab in System Preferences;
    2. Click the plus ( + ) to add an app and select Other;
    3. Navigate to the folder Macintosh HD» System» Library» Core Services» Finder.app
    and click the Add button.
    Back in the Spaces prefpane, select Every Space next to the Finder.app under the Space column.
    If it doesn't work how you wanted, delete it from the Spaces assignment by clicking the minus ( - ) button.

  • Multiple Windows for Multiple Files using Reader 7.0.9

    Install used to be able to double click on PDFs and open each on in their own window from My Computer using Windows XP Pro SP2.
    This morning, each file double clicked opens in the same Reader window.
    In our environment the apps our locked down so the "Internet" menu has the "Display PDF in browser" is checked but grayed out. I am about to investigate the "file types" action on the user machine but my install behaves the same way.
    The user thinks they need Reader 8.x but I am curious if anyone has seen this issue when NOT using the browser but just My Computer and a double click on the files.
    Thanks.
    -Jester

    Unfortunately, I've had no response to my post as of yet.
    Interestingly, I was playing around with it a little further. I was finally able to get acrobat reader 7 to start but only under the following conditions:
    - I created a new user with no files in the home directory
    - I logged in remotely via ssh and set my DISPLAY
    - I was then able to bring up acrobat reader 7. v8 still hangs right after the GUI comes up.
    I tried unset'ing all of the environment variables as my normal user and setting only the ones defined in the working environment above. v7 still would hang.
    I tried 'su - newuser' but v7 would still hang.
    I tried 'ssh newuser@localhost' and v7 would start.
    I tried logging in via ssh as my normal user and v7 hangs.
    Again, I'm stuck as to where to go from here.
    -B

  • Keeping Active Window in Application top when Command-Tabbing

    Let's say I'm working on several documents in Word while using a page from Firefox as a reference point. I'll type something in Word in one document (let's call it document A), Command-Tab to Firefox, look something up, then Command-Tab back to Word, expecting document A (the active window when switching away from Word) to pop up back in front of me. Instead, when I command-tab back to Word, another random window in the app is active, forcing me to Command-` until I cycle back to Document A.
    This has become very annoying and time consuming; can someone please tell me if there's some kind of setting I need to flip on to make sure that the active window in one application will still be on "top" when I Command-Tab back to it?
    Please don't suggest Witch unless it's the absolute only way to solve this. I gave it a try, and its reliability was very wishy-washy. Sometimes apps would show up, sometimes they'd completely disappear for no reason. I'd prefer to use something reliable.
    Thanks in advance.

    Hi,
    Is this only happening in word? I've been using the tab function and don't have a problem, which suggests that it may be a setting in word.
    DM

  • Can't use command   tab

    I recently did an update to snow leopard and have "lost" all sorts of standard features I used to rely on. Now running 10.6.8
    I can no longer command+tab through apps I have open.
    All system key commands like close window [command+W] no longer work.
    Not sure what else I've lost but any idea how to get these back?
    Thanks

    I found an archived article for a slightly older version of SL where it mentioned the problem had to do with the screen saver. The solution was to quit or force quit the ScreenSaver function in the activity monitor. I looked for this and don't have anything that says screen saver or something similar. Any thoughts? This is really annoying!
    None of the standard key functions work anymore such as:
    Command + W
    Command + Q
    Command + C
    Command + V
    Command + Q

  • Can't use command+tab, exposé, dashboard. Can't turn off!

    Hi,
    after imported a PowerPoint file from a memory stick formatted on Windows System, the machine wouldn't respond. Once I tried to restart the machine, the iMac freezed on the desktop picture. I mean, it correctly closed all the applications but the machine would not turn off. So I used the power buttom and turned off.
    Once restarted and after a few hours of use, i discovered that was impossible to switch to another application from the application i was using, unless pointing over with mouse arrow. All the other commands (command+tab, exposé, dashboard) wouldn't respond either. Then again the Mac wouldn't turn off.
    I reboot the machine, did the Verify Disk from the Disk Utility (but not the Verify Disk Permissions, as it never worked?...), but nothing again and after a while I'm getting to the same kind of problem.
    I did imported files from every type of systems or machines (hard drives, web, linux, windows systems) and never had a problem like this before.
    At this point, I don't really know what to do? Is a problem related to the last version of OS (I have the 10.4.10), to my iMac (PowerPC) or what else?
    Thanks

    You can access iCloud.com on a computer to turn it off.
    http://support.apple.com/kb/PH2702
    More >  http://support.apple.com/kb/HT5818

  • Multiple ALV used in Tab

    Hi All,
    We have WD application where we are using multiple tabs. In those tabs, we are showing data in ALV. we are using 5 to 6 ALV, and as per requirement we need to set the table headings as defined by business. Setting column heading is done in WDDOINIT method for each ALV.
    below code is used for it,
    LOOP AT lt_columns INTO ls_column. " get header of column
        ls_column-r_column->delete_header( ).
        CASE  ls_column-id.
         WHEN 'XYZ'.
          lr_col_header = ls_column-r_column->create_header( ).
            lr_col_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_none ).
            CLEAR l_string.
          Get the text symbols
            l_string = wd_assist->if_wd_component_assistance~get_text( '026' ).
            lr_col_header->set_text( EXPORTING value = l_string ).
            WHEN OTHERS.
        ENDCASE.
      ENDLOOP. 
    My Question is, each time when the application is refreshed, it will go to WDDOINIT method and execute all this code again. And as there are 5 ALV, it seems performance issue.
    Is there any better way to improve on this? Also is there any way to set ALV when only particular tab is selected?
    Please let me know.
    Thanks,
    Shekhar

    Hi,
    Are you using 5 different ALV component usage for each ALV? Are the nodes different for each ALV.
    You can handle this by using only one component usage and mapping the node dynamically using set_data method of interface controller.
    You need to pass the name of the node to set_data method on tab click and you can configure each column there.
    Below link describes how to use set_data methos
    http://help.sap.com/saphelp_nw70/helpdata/EN/c3/96b9bedeff4140a3e6d4343a324a9c/content.htm
    Thanks,
    Feroz

  • How can I jump from Safari window to Safari window?

    Hey all,
    How does one jump from one Safari window to another? While Im at it, also from Tab to Tab?
    On Window to Window in WinXP, I would use Command/Tab. However, in OSX, if I Command/Tab, then I get a different program list other then available, open Safari windows.
    When in a single Safari window and have multiple tabs, to go from Tab to Tab, in Windows, you use Control/Tab. But in OSX, this does not work. I have tried variations to see if I could figure it out, but have been unsuccessful. Many thanks for any help and input.
    LH

    Command + ` is a system-wide function to toggle between open windows within any running app. Works for everything.
    In Safari 4 and 5, ShiftCommand (right or left) arrow moves tabs for me. I noticed that in Apple Discussions, should I have a "reply box" open, this copmmand will go to the that tab and stay there, highlighting text. Otherwise the combo wrks fine.

Maybe you are looking for

  • Orange E61i no longer on Orange

    My company issued E61i was an Orange phone - we have now moved to T-Mobile. Orange issued phone derestriction codes, and phone works on T-Mobile SIM. I have a couple of issues ... I do NOT have T-Mobile voicemail, and also did NOT have Orange voicema

  • Hard Drives Not Mounting. 20 BUCKS TO WHO CAN HELP ME!!!

    I swear, if someone can help me solve this problem I will mail you a check for 20 bucks. I'd do more, but I'm pretty broke. Ok, so yesterday, my computer stopped reading any of the two external 500 gig Lacie drives or any Compact Flash card I put in

  • Set a date in an admin script to play back in a routing script

    I would like to create an admin script that identifies holidays, and for each holiday sets a variable to the first work day after the holiday, and to be able to play it back to a caller in a routing script using a play node. I am having trouble getti

  • How to use interactive-fullscreen instead of fullscreen in Spark videoPlayer?

    Hi All, I'm trying the new videoPlayer component in Flash builder and want to use it in AIR application. When i press the fullscreen button i get into regular fullscreen (with no keyboard). Is there a way i can get into interactive fullscreen when pu

  • Delimit button not working in table maintainance generator

    Hi Gurus,                i created table maintenance generator for the view.in this view i hide one field i.e. sequence no. and when ever user entering the values, this sequence no. automatically increased for each record. I just included the code in