Mountain Lion Switcher (Cmd+Tab) not showing all apps

14

9

I've upgraded to Mountain Lion yesterday and everything is working great except for one thing that's really really annoying,

When I press Cmd+Tab, I get the regular switcher, but only some of the open apps are visible, and every time I would have to open Mission Control just to switch apps.

Did anyone else bump into this issue, or even better - solved it? :)

Shai Mishali

Posted 2012-07-27T09:07:58.880

Reputation: 302

Is it consistent or random? This sounds like an issue I've seen on older versions of OS X before. – jtbandes – 2012-07-27T09:10:57.050

Completely consistent... Doesn't show all of the apps always unfortunately – Shai Mishali – 2012-07-27T09:13:20.197

2Do the missing apps show up in the Dock? What applications are missing? – Daniel Beck – 2012-07-27T10:58:03.327

1This never happened on Lion for me, but it's happening quite often on Mountain Lion. I'm sure – Grav – 2012-08-02T09:50:34.827

Answers

4

I had this same issue right after I upgraded. In fact, the open app indicator in the Dock wasn't working for open apps either. I just restarted the computer and all is good now. The application switcher(cmd-tab) shows all open apps and the open app indicator in the Dock is working too.

Matt Klein

Posted 2012-07-27T09:07:58.880

Reputation: 64

1I kinda noticed it keeps coming back after a while for some weird reason ... – Shai Mishali – 2012-07-29T09:40:26.917

Restarting fixes it for a while, but it comes back again later =/ – analogue – 2012-08-28T21:44:53.783

49

To avoid restarting, you can just kill the Dock process and it will start up automatically, showing all open applications. Open the Terminal (Applications -> Utilities -> Terminal) and type:

killall -KILL Dock

The Dock will disappear and in a minute, reappear.

William Roe

Posted 2012-07-27T09:07:58.880

Reputation: 591

This worked for me, but only after I killed all my existing iTerms and then ran killall -KILL Dock from OS X's Terminal – Stew – 2016-02-04T20:28:35.287

1Indeed, that did the trick for me, thanks! Still would like to know what caused that glitch, though... – DaGaMs – 2012-07-30T14:29:15.113

1You can also launch the dock again manually using Spotlight (search for 'dock') – Grav – 2012-08-02T08:51:54.660

Excellent answer, thanks. This has recurred for me even after a restart. (Most recent culprit is RDC client.) It's odd. I'm hoping it just sorta... goes away. – pluckyglen – 2012-08-03T01:18:09.327

Opening "Dock" via Spotlight didn't solve it for me, nor did force-quit of Finder. "killall -KILL Dock" did, however. I'd set a cronjob for it, except that killing the Dock has the side effect of unhiding all windows. Not optimal. – cczona – 2012-08-07T01:39:22.800

Thanks for this...I thought it was finder but relaunching that was not helping. I definitely prefer this to restarting the entire machine....at least until apple fixes the bug :) – TechieGurl – 2012-09-10T17:35:25.103

6

I had the same issue after upgrading to Mountain Lion. I called Apple and after having to go through the usual PRAM reset I got onto someone who had some useful suggestions. The problem appears to be fixed now - I've not seem the problem recur.

The solution was to remove the plists for the Dock, Finder and Desktop. I suspect the Dock plist was the most important, as it is definitely a Dock related issue. Presumably in the upgrade process the plist has been corrupted in some way.

The plists in question can be found in ~/Library/Preferences. A quick way to get to the Library folder in Finder is to hold down Option then select Go from the Finder menu - Library will be in the list.

Inside Library open Preferences and find com.apple.dock.plist - send this to the trash or drag to the desktop. The other two that the Apple guy got me to remove were com.apple.desktop.plist and com.apple.finder.plist.

Now log out and in again (or do killall Dock from a terminal) - the Dock will recreate the plist. The Dock arrangement will now be back to default - you will have to re-add any apps you had there.

Clyde

Posted 2012-07-27T09:07:58.880

Reputation: 165

2

I am seeing the same problem, repeatably, with TextWrangler and TextEdit. Both are active and editing documents but not appearing as active in the Dock or in the app switcher. killall Dock fixes it, at least temporarily.

I suspect it's something to do with the new automatic termination feature in Mountain Lion - perhaps a bug that will be worked out in a .1 release.

coco9nyc

Posted 2012-07-27T09:07:58.880

Reputation: 21

2Automatic termination was added in 10.7. But it might be a good idea to disable it with defaults write -g NSDisableAutomaticTermination -bool true and see if this issue goes away. – Lri – 2012-08-06T18:13:39.640

It doesn't go away for me after trying this, only seems to affect Sparrow. It's showing the toolbar item, responds to keyboard shortcuts when it's the foremost app, but doesn't show as running in the dock/cmd-tab or force quit list – Nick – 2012-08-27T11:13:10.263

Just to update my experience, there's actually a setting in Sparrow to hide it in the dock, which subsequently hides it in cmd-tab , very stupid – Nick – 2012-10-03T13:25:30.947

1

I had the same issue. I was able to quit all the open applications that were displayed in the switcher at the time, Finder crashed, and when it came back it was working correctly again.

Keith Smiley

Posted 2012-07-27T09:07:58.880

Reputation: 196

1

I was having the same issue on Mountain Lion, Command-Tab was not working when switching apps and I had to click on the Dock to actually switch to the app. The issue was resolved by going into System Preferences | Mission Control and selecting the checkbox for When switching to an application, switch to a space with open windows for the application.

luiscorrales

Posted 2012-07-27T09:07:58.880

Reputation: 11

0

I took Will Roe's terminal command and made a quick AppleScript app to run it easily. Since I get this bug every time I turn my computer on from a Shut Down, I have it in my dock for easy fixing. Enjoy!

Download (VirusTotal scan results)

Cameron Etchart

Posted 2012-07-27T09:07:58.880

Reputation: 9

2Welcome to Superuser! While this may fix the problem, most users are wary of running scripts without seeing the source code; are you able to edit your question to paste the code in the script? – Canadian Luke – 2012-08-07T20:23:00.547