Lag in Typing in Yosemite's Mail w/ External Apple Keyboard

Since upgrading to Yosemite I have been having a very annoying problem with delayed typing response in Mail when I have my external USB Apple keyboard (current model with numeric pad). It is a sporadic issue. Typing will be responsive, then there are 2-4 second delays in response. I have only witnessed the issue with Mail and when using the external keyboard. Problem does not occur in other programs or when using my MacBook Pro's built in keyboard. Nor did the problem exist prior to upgrading to Yosemite.


My equipment is a late 2013 MacBook Pro Retina. When on my desk, I have it connected to a 23" Apple Display (original LCD), USB Apple Keyboard, Logitech cordless Trackman, and a Drobo firewire external drive.


Has anyone else witnessed this issue? Or have an suggestions on correcting?


Thank you in advance!

MacBook Pro with Retina display, OS X Yosemite (10.10), Mail

Posted on Nov 1, 2014 5:46 PM

Reply
588 replies

Feb 5, 2015 9:04 AM in response to Andrew-StL

Update: Nope, changing from "hold for diacritic characters" to "key repeat" didn't do it


Update: I tried the command-line stuff in this very-promising article - http://www.macissues.com/2014/12/15/fix-character-typing-problems-in-os-x-mail/ and the command came back with this:


>defaults delete com.apple.mail NSPreferredMailCharset


Domain (com.apple.mail) not found.

Defaults have not been changed.


I tried the "sudo" version of the command, thinking that maybe I needed SuperUser rights to do the delete, still no dice.


Then I tried the other option that the author suggested, which completed without any message back (success or error) at all:


>defaults write com.apple.mail NSPreferredMailCharset -string "UTF-8"


So I'm keen to hear from people who try this and have it complete successfully -- partly to see if that cures the lag, and partly to determine whether the com.apple.mail domain is just wonky on my machine or everybody's.

Feb 5, 2015 10:24 AM in response to RandomThings13

Did said genius even know about this?


Mind you, I'd rather use the slow keys trick until Apple patch the Mail bug. This sounds like a total guess in the dark to me. At best it would mean (as far as I can see) is that if it stops the delay in between those minutes it would still occur during the time it was checking. One step forward one step back if like me it takes more than a minute to type most emails.

Feb 5, 2015 10:39 AM in response to Digitalclips

To be fair, most 'Geniuses' are just as skilled as the average joe here. It is not like Apple Engineers (4th level support). People often confuse the two.

If you are an Apple engineer you also earn 2x the salary.


However, it is still something we can try (we can also set it to 5 minutes, just as long as it is not 'automatic').

I have read all 30 pages here and can't remember seeing this possible work-around, so we can at least all try it and report back.

Feb 5, 2015 12:06 PM in response to Andrew-StL

Update: I realized why my

>defaults delete com.apple.mail NSPreferredMailCharset

command failed the first time, and it may fall in the "Good News" category. If you issue that command, and there is *no* setting for NSPreferredMailCharset, the command fails. But I reran that "delete" command after I'd successfully run the "write" version (and thus created that NSPreferredMailCharset entry) and the delete worked. So I'm starting to get interested in this solution. I haven't done a whole lot of testing, but the lag has been gone since I set that parameter to UFT-8. Here are some experiments to run (from the command line).


Issue this command to see what your NSPreferredMailCharset situation is. I'll show you the two outcomes you're likely to see.

Here's the command you can copy/paste into the command line in Terminal:


defaults read com.apple.mail NSPreferredMailCharset


Here's the response I get when there is NO entry for NSPreferredMailCharset


The domain/default pair of (/Users/blah/Library/Containers/com.apple.mail/Data/Library/Preferences/com.app le.mail, NSPreferredMailCharset) does not exist


Here's the response I get when NSPreferredMailCharset exists and is set to "UTF-8"


UTF-8


If you get the first response, the one that indicates no entry for NSPreferredMailCharset, issue this command to create the entry AND set it to UTF-8

defaults write com.apple.mail NSPreferredMailCharset -string "UTF-8"

Now you can rerun the "read" command and verify that NSPreferredMailCharset has indeed been created and set to UTF-8.


I'm still in the "too early to tell" stage, but I haven't seen the lag yet (I turned off "slow typing" as well).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Lag in Typing in Yosemite's Mail w/ External Apple Keyboard

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