Just my 0.02 cents. Why not to introduce "transaction" concept for key presses?
1. Transaction is finished when the last key is released 2. The returned result from the transaction is the sequence of keys pressed This should solve all [Alt, Shift] problems. Example: user presses Alt key user presses Shift key and releases it user presses Shift key user releases Alt key user releases Shift key The returned sequence is [Alt, Shift, Shift] -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/36812 Title: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp