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

Keyboard stops working in Snow Leopard when using Spaces

A couple of times a day, the keyboard stops working when I select another space using a keyboard shortcut. It does not happen every time I switch spaces.

Symptoms:
~ The Spaces selector stays on-screen, it doesn't fade away as usual
~ The keyboard is unresponsive for regular typing (such as in a text document or in Terminal)
~ I can still use keyboard shortcuts to move to another space
~ The Keyboard Viewer still shows keys as I type them
~ The mouse and touchpad works as it should

The only thing that makes the keyboard responsive again is either a reboot, or performing a standby + resume.

Is anyone else experiencing this?

This happens both on my non-unibody Macbook Pro 15" 2.5Ghz at work and on my unibody 13" Macbook at home.

Message was edited by: neu242

Macbook Pro 15" 2.5Ghz, Mac OS X (10.6.1), 4GB RAM

Posted on Sep 15, 2009 2:19 AM

Reply
292 replies

Jun 28, 2011 9:12 PM in response to neu242

I've had my Mac Pro for 3 years, never had a problem before now. Clearly the Space/Dock bug. I think what set it off was when I opened 2 large applications in rapid succession (Parallels Desktop 6 and ArchiCAD 15), which are each set to open automatically in a separate space. I had to restart several times; each time, when I logged onto my account (with Spaces active), it would beachball the cursor, disable the dock, and even ignore Force Quit. Even the Ctrl-Shift-Eject didn't work. Managed to open activity monitor, but couldn't scroll or select anything. However, I could log onto other accounts fine (including Admin), since they had no Spaces. Repairing Permissions from that account did nothing.


The fix for now: Managed to log on, and immediately went to Preferences and turned off Spaces. Even touching the dock or desktop applications seems to set it off. Unfortunately, I really like Spaces, and I hope I can turn it back on.


This MUST be a preferences file problem. I'll try some things and report if I get a sure-fire cure.


Chuck


Mac Pro 3,1 - 2x2.8 GHz Quad Xeon, 8 GB RAM, 750 GB HD, nVidia GeForce 8800 GT 512 MB

Mac OSX 10.6.8

Jul 4, 2011 3:00 PM in response to Da3dalus1

Following up... the computer worked OK for a short time, then, on my account, it went back to the beachball/keyboard lock behavior, even with Spaces turned off. Hard shutdown is the only way out.


I found an article that identified the preference files to erase:

http://reviews.cnet.com/8301-13727_7-10361439-263.html

Since the Dock is involved in this problem, you might try removing its preference files, which are "com.apple.Dock.plist" and "com.apple.Dock.db," located in the /username/Library/Preferences/ folder.


I had to do this from my Admin account, which required changing a bunch of Library permissions. This wiped out my Dock and Spaces setup, but it appears everything's OK. I'm a little scared to turn Spaces back on, so I'm going to see if I can live without it for a while.


Hope this helps someone!


Chuck

Jul 15, 2011 4:10 AM in response to Da3dalus1

hi everybody,


I'm a newbie in apple's world.


I've been working inside windows world for 20 years and I switched to mac 2 months ago.


The main reason why I did it is cause I'm fed up using an intel-win platform that stops working without support, with funny error messages and no clue of what's happening bellow the user GUI.


I need something stable, that never fails, cause I have no more time to waste on troubleshooting.


I expected Apple to be good, stable, maybe we don't have all the possibilities windows apps offer, but you know that if apple sets a new functionality, it will work.


But this keyboard issue is unacceptable, annoying, and this is something I was not thinking on facing once I moved to Apple.


I would not buy more apple products if I knew this kind of failures.

And the lack of support is also unacceptable.


18 pages in the apple discussion forum without and official feedback.


thanks to the reply of CTRL+SHIFT+EJECT. it works for me as a workaround, but the image of Apple I had in mind is gone.

Jul 16, 2011 2:04 PM in response to Da3dalus1

I'm happy to report that after deleting those library files, and turning Spaces back on, everything appears to be working. I've been using multiple apps in different Spaces for the last couple of weeks with no problem. The only issue was that I had to rebuild my Dock from the default layout, which took about 10 minutes, and reset my Spaces preferences.


This is also a good reason to have an Administrator or Admin account set up, with full permissions, used just for emergencies. Many problems can much up an account, while the basic OS is fine. It's even a good practice to set all of your user accounts with limited privileges, for added security, though I find this a little too restrictive.


Hope this helps someone!


Chuck

Jul 20, 2011 12:51 AM in response to Da3dalus1

I erased the preference files as shown in the link, and everything worked fine for maybe a day. Now the problem has started again. After it happens, I open the Activity Monitor and kill the Dock process. This is the quickest way I've found to recover from the keyboard lock.


New observation: After the problem has happened once, it happens every subsequent time I switch spaces using the keyboard shortcuts - very frustrating. Everytime I have to kill the Dock process to recover. However, if I stop using the keyboard shortcuts (and switch e.g. using F8 and click) for a while, or leave the computer sleeping overnight, everything goes back to normal and the keyboard shortcuts work again - for a time. Is there a buffer that gets filled, or a cache that gets emptied after some time...??


Mark

Jul 22, 2011 9:26 AM in response to neu242

As a workaround, I created an applescript app that kills the Dock. That gets the keyboard working again. I just leave the app on my desktop so I can easily get to it if the keyboard stops working. To do this, open the AppleScript Editor, add the line:


do shell script "killall Dock"


and save it as an Application.

Aug 9, 2011 6:05 AM in response to regnauld

The kill Dock method does indeed work, but as others have mentioned, once the bug introduces itself, well, you have to kill the Dock alot if your fingers have become accustomed to switching spaces using keyboard shortcuts. So its a problem with the Dock process, that much is for sure.


One solution is to install Hyperspaces, you can easily google it, it's about 30$. It seems to capture the keyboard shortcut before it can mess with the Dock process. Since using it, the bug has not manifested itself.

Aug 22, 2011 10:12 PM in response to cashshadow

Howdy all. I hesitate to make any suggestion here, because we all know what seems like a solution today may not be a solution tomorrow. Nevertheless, I've been stuck with this bug for months now, on 2 different machines. Searching again tonight to see if anyone had a new solution, and finding none, it occurred to me to toggle the switch at the bottom of Spaces preferences, the one that says, "When switching to an application, switch to a space with open windows for the application." So I turned this off, and at least for the last 30 minutes, the problem has disappeared. In fact, I just turned this box on again, and the problem still seems to no longer be present.


If this solution has been suggested by others, sorry if I'm resurrecting a dead idea. But, at least for the moment, I'm enjoying the b-e-a-utiful site of watching the Spaces indicator disappear.


I hope this might help anyone else plagued by this ailment.

Keyboard stops working in Snow Leopard when using Spaces

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