This helped me:
Be aware of xserver version numbers.
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
Keyboard layout change on hotkeys press instead of release and do not
work well with shortcuts (reopen)
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp