Comment 10 for bug 805870

Pavel Khlebovich (pas-anddev) wrote :

This affects me as well on Ubuntu 12.04 Alpha with Compiz/Unity as WM.

This is how to reproduce it:
- Open any window (I reproduced it with gedit, Chrome and Nautilus)
- Open terminator window and hide it with hotkey
- Press any key (i.e. down arrow) in application opened in step one, or hold it down
- Immediately press hotkey to unhide window
-> terminator appears unfocused

Like for Ben, toggle twice fixes the issue.

The attached patch fixes the issue for me. Immediately after show() focus() with timestamp is invoked, the same way it's done in Guake.