michaln wrote:
If I remote-control (using Chrome Remote Desktop) a guest running on VirtualBox under a Windows host using a Mac OS X machine to operate Chrome Remote Desktop, I can also reproduce the problem. I'm able to reproduce it outside the original stuff (Java, NetBeans); I just typed Control-T on the Mac OS X keyboard and on the FreeBSD guest on the Windows 7 host it opened about 25 Chrome tabs (CTRL-T is the FreeBSD shortcut for "Open New Tab" in Google Chrome).
Okay, a couple of questions:
- Was this a one-time occurrence or is this reproducible?
I believe it has happened more than once (I vaguely recall a previous problem like this a few weeks ago, but it fell off my radar), but I would not yet call it "reproducible" -- i.e., I don't know how to quickly cause it to happen. (I have also not tried very hard as I am not using the remote control configuration frequently.)
michaln wrote:
- If I understood correctly, the T key repeated more than it should, but it did not actually get "stuck"?
Correct.
michaln wrote:
Here's one possible explanation... remoting over a network may introduce additional latencies (congested network, dropped packets, whatever). Many X11 based GUIs these days emulate key repeat (rather than letting the keyboard do it) and have rather aggressive settings, with a low delay and a high repeat rate. If the network packet containing the key release got delayed for a short while, that could easily cause undesired key repeats. This is really just a theory -- right now I don't have enough evidence
As I mentioned earlier, I'm in over my head, but my instinct is that this theory is not correct, and here's why: the behavior I saw (extremely rapid, or possibly instantaneous, key duplication, but not stuck) is
exactly the same as the behavior I got using the same Mac as the host for the VM. So:
1. I have, for a long time, run FreeBSD VMs on a Windows host, without seeing the problem,
2. I was running a similarly-configured FreeBSD VM on the Mac OS X host that was essentially unusable because of the key-repeat problem, so I have abandoned it for now,
3. Yesterday I was able to reproduce behavior very similar to the behavior I had on the Mac, which I have never had on the Windows machine, by using the Mac to remote control the Windows machine.
The problem, as I've seen it, has always been that when I am typing, some keys will repeat a bunch of times. (So I will type phrases like "The quiiiiiiiiiiick brown fox jumped over tttttttttttttttttthe lazy dog..."). So opening 25 Chrome tabs with a single keystroke is consistent with my problem.
Still, as you said, it's only once that I am sure about and recall clearly.

But it smells right to me. (And obviously still could be wrong; it could have an unrelated cause like the one you suggest.)
As you mention in a portion I did not quote (paraphrase: "maybe it's
this Mac"), perhaps there is something unusual about some (new? particular model?) Mac notebook keyboards? This might explain why the problem does not seem widespread but is debilitating to some users like me. I have a customer-issued, very recent Macbook Pro (in About this Mac it says "Macbook Pro, Retina, 15-inch, Early 2013") but there is no obvious information about the keyboard under System Report | Hardware (and as I am new to the Mac world, I don't really know where to look).
-- David P. Caldwell.