Now I'm using Ubuntu 11.04 (with Unity desktop) on two computers: one is upgraded from Ubuntu 10.04 and one is clean installed Ubuntu 11.04.
And this bug is still reproducible in both systems.
This bug appears not every time when I switch keyboard layout and launch new application window, but sometimes.
I'm using "Caps Lock" and "Right Ctrl + Right Shift" keys to change keyboard layout, maybe this causes the bug.
Now I'm using Ubuntu 11.04 (with Unity desktop) on two computers: one is upgraded from Ubuntu 10.04 and one is clean installed Ubuntu 11.04.
And this bug is still reproducible in both systems.
This bug appears not every time when I switch keyboard layout and launch new application window, but sometimes.
I'm using "Caps Lock" and "Right Ctrl + Right Shift" keys to change keyboard layout, maybe this causes the bug.