Uninstalling the maximus package seems to resolve this issue. Given that, there might still be a problem within Gnome Shell itself, only triggered by Maximus promptly resizing newly created windows. It looks like a race condition between Maximus and Gnome Shell.
** Package changed: gnome-shell (Ubuntu) => maximus (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1285897 Title: Gnome Shell randomly loses focus - keyboard not functional To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maximus/+bug/1285897/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs