Page 1 of 6

How to stop keys from repeating when typing

Posted: 2. May 2013, 03:42
by rockie12_us
Hi
I have VirtualBox 4.2.4 r81684 Running on an intel MAC with 2 GB ram

I have an XP VM with 512 base memory

when typing in ms word in the xp vm, the keys will repeat while typing from time to time. Say I wanted to type hello and I will get heeeeeeeeeeeeeeeeeeellllllllllllllllllllloooooooooooooo

once it starts doing it, it does not stop even if I quit out of the vm

I have found some threads from 2009 saying something about checking the repeat key setting, but I do not know how to do that.

Any help here would be great

Thanks in advance
Dean-O

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 11:11
by mpack
rockie12_us wrote:I have found some threads from 2009 saying something about checking the repeat key setting, but I do not know how to do that.
That would be the keyboard repeat rate. There should be a keyboard icon in the guests Control Panel.

Did you install the guest additions?

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 11:14
by michaln
mpack wrote:Did you install the guest additions?
The Guest Additions are irrelevant to keyboard input.

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 15:14
by rockie12_us
Where do I see guest additions?

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 15:16
by rockie12_us
In this version 4.2.4 I did not get promoted for guest additions. How do I check for them? How do I fix this painful repeating key situation?

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 15:29
by mpack
Pull down the "Devices" menu of the VM window, select the "Install Guest Additions" menu item. This causes a virtual CD to be attached to the VM, which usually causes the GAs to autorun. If it doesn't auto-run then browse to the CD drive inside the guest and double click the "VBoxWindowsAdditions.exe" file. Remember to unmount the virtual CD when you're done.

Also, read chapter 4 of the user manual, Guest Additions.

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 15:42
by rockie12_us
After doing this, will chapter 4 have the instructions for fixing this key repeating?

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 16:41
by mpack
No, it will have answers to questions such as how to install the GAs, which was the question you asked last.

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 17:03
by loukingjr
You could try turning off key repeat on your Mac. System Preferences>Keyboard.

Re: How to stop keys from repeating when typing

Posted: 2. May 2013, 18:45
by michaln
Installing the Guest Additions does NOT affect guest keyboard input.

Re: How to stop keys from repeating when typing

Posted: 3. May 2013, 11:35
by mpack
I assume it's a variation on the known problem of missing a key-up event, in which case anything that reduces latency inside the guest is probably good, hence install the GAs. Enabling VT-x may help too, and look at any other significant I/O or CPU burden the the guest might be carrying.

Re: How to stop keys from repeating when typing

Posted: 3. May 2013, 11:54
by michaln
mpack wrote:I assume it's a variation on the known problem of missing a key-up event, in which case anything that reduces latency inside the guest is probably good, hence install the GAs.
That's nonsense. Losing key-up events (if that's what it really is) is unrelated to the guest load. Everything is queued/latched and even though it might take longer for the guest to react, the events can't be lost because the guest is working hard.

Yes, installing the GAs might in some cases shift things around sufficiently to hide some bugs related to keyboard input or make them harder to reproduce, but it won't fix them. That said, the information (not) provided so far makes it impossible to form a coherent picture of what's really going on.

Re: How to stop keys from repeating when typing

Posted: 3. May 2013, 12:06
by mpack
Well, perhaps you would care to suggest something useful to the OP, instead of sniping at others attempts.

Re: How to stop keys from repeating when typing

Posted: 3. May 2013, 15:41
by michaln
mpack wrote:Well, perhaps you would care to suggest something useful to the OP, instead of sniping at others attempts.
I'm just pointing out that the advice you're giving is unfortunately highly unlikely to have any effect. I suppose I could keep that to myself and let folks discover that on their own :)

What I'd suggest instead is a) update VirtualBox and b) provide VBox.log if the problem persists.

Re: How to stop keys from repeating when typing

Posted: 5. May 2013, 20:04
by rockie12_us
I am using an external USB keyboard. Would that matter?

I loaded the Guest Additions too