Unable to get keyboard or mouse focus back after waking from sleep

Here's a problem with very specific symptoms, which I've seen on a number of Macs that I support:
- After waking from sleep, the Macs are unable to fully achieve focus on any window. All windows, in all apps, appear to be in the background -- their frames have the lighter gray look of backgrounded windows.
- I can grab any window and move it around, and even interact with elements of the window by clicking on them. I cannot, however, ever really bring the window to the front.
- I can't type anywhere.
- Regardless of what window I click on, the OS menu bar remains "stuck" on whatever app was in the foreground when the Mac went to sleep. Sadly, though, none of the menus can be selected or pulled down.
The only way out of this state is to force a restart.
I am wondering if anyone else has seen this behavior, or, better yet, has actually solved it.
Thanks in advance!

Check the Display & Enhance Contrast settings - System Preferences/Universal Access
Or repair permissions and restart your computer.
Or *Disconnect all peripherals from your computer.* Boot from your install disc & run _*Repair Disk*_ from the utility menu. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
Select your language.
Once on the desktop, select Utility in the menu bar.
Select *Disk Utility.*
Select the disk or volume in the list of disks and volumes, and then click *First Aid.*
Click _*Repair Disk.*_
Restart your computer when done.
Repair permissions after you reach the desktop-http://docs.info.apple.com/article.html?artnum=25751 and restart your computer.

Similar Messages

  • External keyboard and mouse not recognized after waking from sleep

    This started happening all of a sudden. It was working fine before that. When I disconnect the power cable, keyboard, and then connect them back, its not recognized. To make it recognize the keyboard and mouse, I have to logout and login or restart the laptop. I looked at this related post, but the PRAM reset fix did not work for me : http://forums.macrumors.com/showthread.php?t=870482
    Any idea how to fix it?
    OS version: 10.9.2
    MacBook Pro 13-inch Mid 2012
    Processor 2.9 GHz Intrel Core i7
    Memory 16GB 1600 MHz DDR3

    I have a similar problem on our G3 iBook with Panther. Most of the keys don't work, and of the four or five that do, they print only gibberish.
    For a while I had control of the "C" key, and I was able to start from the Installation CD-ROM. I ran Disk Utility. It found and repaired a whole bunch of permissions and reported no problem with the hard disk. But I still cannot use the keys, and since then I've lost the use of the "C" also.
    Because I cannot use the keyboard, I cannot type in my administrator's password, and for that reason I cannot use System Preferences to start from the Installation CD-ROM. I did not see the Hardware Test on the CD-ROM, but it sounds interesting.
    Any ideas on how to get back to the CD-ROM when my keyboard doesn't work?

  • Mouse skipping wildly after waking from sleep

    Not sure if I've fixed this already yet or not but, sometimes after waking from sleep my wireless mighty mouse has a bad delay (skips around a bit too). I'm using Steer Mouse (which seemed to preform normally) but have uninstalled it just to see if it was the problem. So far, so good: no mouse problem after sleep, though I've only tried it a few times.
    Anyone having this problem who doesn't have Steer Mouse installed?

    same prob but with the trackpad. I don't think it is a prob with your particular mouse. There is a few other topics covering this.
    Common theme... only a reboot will fix.

  • Keyboard Viewer window opens up after waking from sleep and screensaver

    I have the MacBook keyboard freezing problem since upgrading to Leopard. One time (at band camp), I opened the Keyboard viewer so I could enter some text prior to rebooting. Now, the keyboard viewer pops up after every wake from sleep, return from screensaver (both password protected), and sporadically when switching/quitting applications.
    I have tried rechecking and unchecking the "keyboard viewer" and "show input menu in menu bar" in System Preferences->International->Input Menu. While not a serious problem, it is rather annoying. How do I get the keyboard viewer to stop opening?
    On a related note, there must be a script or program that is run every time the computer wakes from sleep and password protected screensaver that prompts for a password. Anyone know where this is located?
    Peter

    Ok, I just tried that. I deleted com.apple.KeyboardViewerServer.plist. I then started my screensaver. When I came back in...the Keyboard Viewer was back and there was a new plist file that was created...so, something else must be controlling it.

  • Odd Keyboard/mouse failure after waking from sleep

    Here's an odd problem that's been bugging me for awhile now.
    Occasionally my iMac will not allow me to log in after waking from sleep. I always log out of the machine when I'm not using it, and after a bit it goes to sleep (usually I'll just click the "sleep" button on the login display).
    It wakes up with a wiggle of the mouse (Wacom Graphire), a tap of the keyboard (recent wired but numeric-keypadless Apple) or if I hit the button on my Griffin Power Mate.
    But then I cannot do anything. If I click any of the edit boxes in the login window, or any of the buttons, the mouse jumps to the "sleep" button but does not click it. I can't enter a username or password because those edit boxes never get focus.
    The machine is otherwise alive, as I can ssh to it from another computer or my iPhone and then from the command-line do a
    $ sudo /sbin/shutdown -r now
    for an orderly reboot.
    Very bizarre and rather annoying ... this has persisted since I installed Snow Leopard. Clues, anyone?

    Some, but not all of the time that the tower goes to sleep, when it wakes up the mouse works, but the keyboard does not. A restart solves the problem, but that's not practical.
    My aluminum keyboard did exactly the same thing when used with the USB extension cable, but not when plugged directly to the computer. Usually, unplugging the keyboard for a few seconds would fix it. The Apple store replaced the keyboard, and I have had no problems with the new keyboard.

  • Loss of mouse control after waking from sleep

    I am running a Mac mini G4 (see specs below) with a remote Microsoft mouse-keyboard connection that uses a USB connection. I didn't turn on the computer for a month, I installed necessary updates to some programs, and control of the mouse pointer disappears after I waken it from sleep mode. I installed new batteries in the mouse, but it makes no difference. The keyboard works fine. Both the keyboard and the mouse were purchased with the computer, and I've never had a problem with either of them until now. What's wrong, and what can be done? Thanks very much. Peace.

    It's not an entirely unusual problem to have the mouse drop out when waking from sleep, and it's caused by the fact the system wakes before the connection to the mouse is re-established. To the system, that means the mouse appears to be missing, thus the driver doesn't load up for it. Cordless mice are amongst the most problematic in this respect because as the system wakes, not only does it have to recognize the cordless transceiver in time, but then also make contact with the mouse and correctly identify it. That isn't normally a problem, but it means almost anything that delays the chain of contact will result in the mouse failing to work. Note that if using a USB hub, this can exacerbate the problem significantly, so at least for testing, the mouse and keyboard should be connected directly to the system.
    There are a couple of simple tests to perform: firstly, does the mouse work perfectly when the system is booted rather than woken? Assuming it does, the next is whether the mouse works correctly if it is used to wake the system from sleep by clicking a button?
    If the mouse works correctly when the system is booted, then the problem is either that the mini's USB ports are not functioning entirely correctly, or that there is either a problem with the USB 'dongle' communicating with the mouse on wake up, or some interference in the area that is inhibiting error-free communication between the devices.
    In the latter instance, placing the mouse a few inches from the USB 'dongle' it communicates with and then waking the system is a good test, since the range is short and thus the risk of interference affecting communication is reduced. If it works like that, then you have something in the area that is causing communication problems.
    Assuming the mouse still doesn't work when left next to the dongle, then then next step is to try an PMU reset:
    -Unplug all cables from the computer, including the power cord.
    -Wait 10 seconds.
    -Plug in the power cord while simultaneously pressing and holding the power button on the back of the computer.
    -Let go of the power button.
    -Press the power button once more to start up your Mac mini.

  • After waking from sleep, my iMac (Lion) is unresponsive.  The mouse moves, but when I click things it won't open them.

    After waking from sleep, my iMac (Lion) is unresponsive.  The mouse moves, but when I click things it won't open them.
    This has happened EVERY time the iMac goes to sleep for the last few days.. the only way I have found to resolve the issue is to manually restart the computer each time via the button on the back of the iMac.
    Any and all help is appreciated!
    Thanks

    FWIW, I never sleep my machines or their HDs, just their displays and never have an issue waking up the displays, usually run 24/7. Give that a shot.

  • Keyboard volume keys don't work after waking from sleep

    This problem has existed for many months on my 2009 Mac Pro. I'm running 10.6.3. The problem is reproducible 100% of the time. I use external speakers. Sound output is set to "Line Out."
    1. Boot machine. External speakers work fine. Volume keys on keyboard (F11, F12) work correctly.
    2. Put machine to sleep.
    3. After waking from sleep, F11 and F12 no longer control the volume of the external speakers. The "pop" noise when hitting F11 and F12 is emitted from the internal speaker. The mute key (F10) does work for the external speakers, however.
    4. The keyboard volume controls become responsive again by switching the sound output from Line Out to another output option and then back to Line Out.
    This bug is a huge hassle. Does anyone have a solution?

    I have several mid-2009 8-core Mac Pro's, all running Snow Leopard, and all have been having this problem as well.
    I will not guarantee this is going to work for anyone else....but we have found a (slightly inelegant) workaround for it that has been working for several weeks now without fail.
    Prior to putting your MacPro to sleep, run the volume all the way up and leave it there. Afterwards, put it to sleep as usual. We use the keyboard to do this, but I would imagine any method should have the same affect. However, I've not experimented.
    Anyway...this has worked 100% of the time for us. The only downside of it is that you have to remember to run it up before....and then back down after waking (else that first alert sound or music file you play will really wake YOU up!)
    If this works for anyone else, let me know.
    Apple should never have let this one out the door with this bug. Especially, as Apple Support is....wanting, at best.
    ...sT

  • Keyboard/mouse do not function after waking from sleep?

    Hi, I've recently noticed that when ever I wake my MacBook from sleep mode, the keyboard and mouse do not respond to any input. It does not occur every time, but the majority. If I close the display a few more times and wake it again it can sometimes work but obviously this is time consuming.
    Has anyone else encountered this or know of a solution?
    Thanks in advance

    Well I just bought my iMac few days ago, the Apple propaganda is all that their products are so much better and blablablabla, basically sales talk.
    Anyway, I was stupid enough to buy one and now I'm feeling the "real Mac expirience", keyboard and mouse have a lot of "wireless" connection issues but what real ****** me of is the fact that if my keyboard does not connect I have to shut the iMac on the on/off button, which i supose is not very good for the Mac's health, but well this is the leasson.
    Resuming I have the same problem as the one reported here, and worse than the problem is seeing Apple's "support" on this subject, which is nule, this worries me even more.
    Back to crap computers that at least work out.

  • Since 5.1 update, my Apple TV has no audio after waking from sleep mode. I can get audio back if I manually put it to sleep through settings. Help please?

    Hello,
    Since the 5.1 update, my Apple TV 2 has no audio after it wakes from sleep mode. To get audio back I need to go to settings and manually put it to sleep then wake it up. Once I do this I have audio. I have restarted the Apple TV as well as me modem and router. I have searched the boards and cannot find a solution.  Please help.

    mrdctaylor wrote:
    Since I updated to the latest/greatest version of the software I can no longer put my Apple TV to sleep by holding down the middle button.
    Thanks!
    Apple have changed this setting with the Apple TV Software Update 5.1:
    About Apple TV (2nd and 3rd generation) software updates
    Feature
    Summary
    Shared Photo Streams
    Accept invitations for Shared Photo Streams, browse photos and comments, and receive notifications of new content.
    AirPlay
    Send audio content from Apple TV to AirPlay-enabled speakers and devices (including AirPort Express and other Apple TVs). Also includes the ability to require an onscreen code to use AirPlay with your Apple TV.
    iTunes account switching
    Save multiple iTunes accounts and switch quickly between them.
    Trailers
    Search movie trailers. In the United States, see show times for local theaters.
    Screen savers
    New Cascade, Shrinking Tiles, and Sliding Panels screen savers.
    Main menu
    Reorder icons on the second page by holding down the select button on the remote.
    Subtitles
    SDH support for the deaf and hard-of-hearing as well as improvements to viewing and selecting subtitles.
    Network configuration
    Support for setting up advanced network options using configuration profiles. Seehttp://support.apple.com/kb/HT5437 for more information.
    Stability and performance
    Includes general performance and stability improvements.
    If you don't like this, you can leave feedback here: Apple Feedback

  • Can't get yosemite to working after waking from sleep mode

    I just installed Yosemite to my Mac Mini.  When the computer goers to sleep for more then 30 seconds I can wake the computer but then after i see the desktop I can't do anything on the computer every click i make does not respond and I have to force the computer to shut down and I have to reboot every time my computer goes to sleep.

    I have the exact same issue for the first time after installing Yosemite.  On resume from sleep, I can see the desktop, and can move the cursor with the mouse, but clicking on icons, etc. does nothing, and the keyboard does nothing. A cold boot works fine. This is a Mac Mini bought in the Summer of 2014. I run no unusual software. I have eliminated all log in items in Preferences/Accounts, reset the NPRAM, have no peripherals (other than standard Apple mini mouse and wireless keyboard), and have shutdown and unplugged to reset.  It makes no difference whether a password is required or not - once it goes to sleep, this is the result, and only a forced shut-down by holding the power button and a cold boot give me control back.  This problem does not appear if it merely goes into screensaver mode - which I invoke with a hot corner.

  • G4 likes to ignore key/mouse input after waking from sleep sometimes

    It doesn't receive any input from a perfectly working logitech USB mouse or the modern Apple Keyboard about every 10th time I wake it from sleep mode, and I have to reboot it. When it's in that ignoring mood, I can unplug and reconnect the mouse, watch the red LED on the bottom light as it's recognized by the machine, but still get no use from it until rebooting.
    What gives? What's the fix?

    hi there--
    you will want to trash the following files to see if it makes any difference--
    /library/preferences/systemconfiguration/com.apple.powermanagement.plist
    /library/preferences/systemconfiguration/com.apple.autowake.plist
    ~/library/preferences/com.apple.systemuiserver.plist (~ means home library)
    if there is no autowake plist you should generate one by setting a schedule in system preferences > energy saver, and then cancelling the schedule. if you do this don't delete the file afterwards, just let it regenerate itself in the systemconfiguration folder.

  • Jumpy mouse after waking from sleep?

    Ever since I installed Leopard (clean install, not an upgrade) I've been experiencing this problem. Everything has been running flawless but after about 6+ days uptime, the mouse will start lagging/jumping like crazy after waking it from sleep.
    For example, I closed my Macbook Pro screen about an hour ago to head to my parents house and put it in my bag. I get here and open up the screen to wake it up and the mouse is just jumping around like crazy. I waited a few minutes thinking maybe something was loading in the background sucking up all the CPU cycles/resources, but that's not the case. This is about the third time I've seen this problem and it always occurs after waking the computer from sleep with a 5-6+ day uptime.
    Anyone else experience this issue? This was never a problem in Tiger and I had 30+ day uptimes there.

    I'm taking the same cruise to frustration island. My trackpad just started getting really jumpy in the last couple of days. This is after a very irritating bout with random keyboard freezes (which I still have not resolved, but feel better that I'm again on a boat with plenty of others: http://discussions.apple.com/thread.jspa?threadID=1206602&tstart=0).
    I've tried to figure out if there's a process that's hogging things, but that does not appear to be the case.
    I guess I'll just have to wait for another OSX update or something to get this issue resolved.

  • MacBook Crashing after waking from sleep w/ new BT keyboard

    After waking my computer from sleep by opening the lid, as soon as I begin to type, my screen goes gray and crashes. This consistently happens.
    Anyone else with this problem?

    I have a strange set of circumstances. First my wireless mighty mouse cursor began skipping. After several restarts, it stopped doing that. However, my apple bluetooth keyboard stopped working and has not worked since.
    Even more strange... the bluetooth symbol in the finder is grayed out, although the mouse is connected and works just fine! The bluetooth controls shows that it has "found" the keyboard but cannot connect to it. I have tried everything listed in these forums and nothing works. According to my computer, there is no active bluetooth connection even though the bluetooth mouse works.
    Any other ideas? This is really frustrating.

  • Wireless Mouse Doesn't Work After Waking From Sleep Mode

    I have a MacBook Pro 13" 2.9 GHZ running on OSX 10.8 and when it wakes from sleep the wireless usb mouse no longer functions. I have to continually unplug then plug the mouse back in for it to work. Is there a way to solve this problem? I haven't found any definitive answers through searching the web. It's minor but irritating as I'm not fond of using the trackpad.

    Would like to backtrack this discussion to
    Re: iMac 2014 5K Bluetooth Trackpad Problem after sleep
    Please add your system configuration and Wifi details (G, N or AC) to the mentioned thread if possible

Maybe you are looking for

  • How to open my adf application in a new windw

    I want to open my adf application when run it in a new window as I don't want to see back button or any something else. is there solution for this thanks.

  • Command Line Parameter in File Adapter in SAP PI

    Hi Can any body explaine me what is the purpose of 'Command Line' parameter in File Adapter (Sender/Receiver). Regards,

  • Dead Tracks & Icon Previews...

    I have a recurring problem with iTunes. I'll get the dreaded "!" indicating iTunes can't find the song file, even though the song file is still there. I've gone through and fixed all the dead tracks, but I'm trying to figure out why this keeps happen

  • Getting error in Cisco 3750

    Dear Friends, I am getting continuous below mentioned error in my core switch. Please help on this. Apr 11 00:59:59.539: PRST-VBL DET - Util Set - nameval=NTPv4_Drift=0.0 and node->nameval=NTPv4_Drift=0.0. Apr 11 00:59:59.539: PRST-VBL STD Util Set -

  • Sound not working in windows vista using bootcamp

    hello everyone, i recently installed vista on my imac 24in 2.4ghz 4gb ram and the sounds not working. searched google and this came up. http://answers.yahoo.com/question/index?qid=20081023034326AAhBL2A they gave a few options but i dont seem to fined