Bug 1031505 - Switching keyboard layout type when messaging enables capslocks