Bug Description

Impact: when typing and switching to another keyboard layout there is a delay from 1 to 2 seconds.

Test Case:

1. Set keyboard layout to EN

2. Start typing

3. Switch to another layout by pressing the hot-key (e.g. to RU)

4. Continue typing right after the switch - the first 1-3 characters are still in EN keyboard layout

This happens from time to time. It feel like the layout is cached or something and when switching HDD indicator sometimes lights up.

Output of xev when the switch hotkey is pressed once (Alt+Shift):

keycode 64 = (keysym 0xffe9, Alt_L), state = 0x0

keycode 50 = (keysym 0xffe1, Shift_L), state = 0x8

keycode 50 = (keysym 0xffe1, Shift_L), state = 0x9

keycode 64 = (keysym 0xffe9, Alt_L), state = 0x8

DistroRelease: Ubuntu 14.04

Architecture: amd64

Machine: Asus u38n C4010H