You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lion cmd-tab doesn't bring the application windows to the foreground

When I switch between apps using Command-Tab the system brings the correct application to the foreground (as indicated by the menu bar) but the application's windows often remain in the background behind another app that is running in the same space.


e.g. if I have Mail and Preview running in Space 1 and Safari in Space 2, using command-tab to switch from Safari to Mail will often leave me seeing Mail's menus at the top of the screen, but looking at windows from open Preview documents. To get the correct windows to the foreground I often have to then either do a three-finger up swipe to get Mission Control and click on Mail, or use Command-Tab again and re-select Mail from the apps listed.


The App Switcher (Command-Tab) should bring the selected app AND its windows to the foreground, but this often doesn't happen - I say often because the behaviour is inconsistent, sometimes it works as it should, but often it doesn't.


Please, please don't reply to this query if all you have to offer is an alternative method of app switching - I know there are other ways to switch between apps but I've been using Command-Tab for years (and Macs for 20+ years) and I want to figure out how to fix this problem, not just work around it.


I'm working on an 11" MacBook Air with Lion 10.7.2


Thanks for your help!

Posted on Nov 2, 2011 2:12 PM

Reply
42 replies

Jul 15, 2013 10:24 AM in response to Traveler42

As the person who started this thread I'd like to chip in. The original bug I posted about had this behaviour - when you used cmd-tab to select say Mail, focus would return to the app (you could see the menu bar switch to displaying Mail's menus) but sometimes (not always) the windows for Mail did not come to the front - at least at the first attempt.


Mountain Lion solved this problem for me and most other users experiencing it, but not for all judging by the feedback in this thread.

Jul 16, 2013 1:38 AM in response to Traveler42

Traveler42: Unfortunately, I'm working on a 2008 polycarb MacBook, which can't run MLion (it can run Lion, which I do). I guess that might make me the "old fashioned backwards"-type :S I don't remember having this issue on Snow Leopard, although downgrading is not something I'm keen on doing...


Neil Youngson: Good to hear that MLion fixes it! What you said is true: the focus (i.e. menu bar) does change, the window just doesn't appear (or is obscured by another app's window).

Jul 21, 2013 10:53 AM in response to renekist

I thought focus was clear enough to mean "make my mouse enter data into the most recent application window".


I do not think focus means just selecting the menu bar but reasonbable people can disagree.


If you want a more precise way of saying this, switching back to the application with command tab occasionally does not "order front" the most recently used window of the application (coming from the X world).


I thought I was still seeing this with Mountain Lion but I am now using Witch bound to command tab.


That still has gotchas even in Mountain Lion but it does what I mean much more often.


If you haven't used it, Witch let's you switch between windows blind to which application they come from.


If you switch among multiple applications all the time, this becomes essential.

Jan 14, 2014 8:36 AM in response to Neil Youngson

For what it's worth, I'm on Mavericks and have been for some time...and while command-tab worked perfectly fine, in the past couple of days it has started exhibiting the behaviour described here...and this doesn't seem to be coincident with an update (10.9.1 installed in December), and I've certainly not changed any system preferences in the last few days...

Mar 4, 2014 6:18 PM in response to Neil Youngson

Same problem here ... command tab, the shortcut for switching between open apps i've used every day for three years, suddenly, is no longer. Totally slowed my work flow, have to stop typing and use track pad to switch to another app to grab something. PIA ... macbook air 2011 -- no way I am reinstalling for this ... i push on with my hobbled machine.

Nov 22, 2014 10:58 AM in response to Neil Youngson

Chiming in that on Yosemite this bug still exists.


I know it's a bug because I will (for example) switch from Safari to TextWrangler with cmd-tab. Then I'l hit cmd-tab again, but it will take me to some random space with no Safari windows, even though Safari is open full screen in its own space. Then if I hit cmd-tab a couple times to toggle back and forth, eventually it figures it out and gets me to the right space.


Occasionally I hit cmd-tab and it jumps to a random wrong space, but then about 2 seconds later (without any other input from me!) jumps to the correct space.


I have noticed this for a long time but only just bothered to search on it. It's kind of unbelievable that such a small but annoying bug has gone unaddressed for so many years, even through iterations of serious overhauls of Spaces behavior! This thread started almost four years ago!

Sep 27, 2015 10:53 AM in response to omgoleus

I have a macbook that had disk wiped off, and brand new Mavericks installed at the Apple store, because i did not want Yosemite (on purpose). The machine was barely used for about a month or less, when it started exhibiting the problem described in this thread. Cmd+tab will show me the list of icons/apps, and when i switch to another app, it will only change the MENU bar at top, but the window will not change (even though i have separate desktops for these apps). Changing options in mission control, as suggested by some here did not work. I think there is definitely a bug that may be hard to reproduce consistently, and this has not been brought to the attention of Apple engineers after so many years ?? I am surprised.

Lion cmd-tab doesn't bring the application windows to the foreground

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.