Does it seem like this line could be the problem? https://github.com/GNOME/gnome- shell/blob/3b1330880fbaa1c1f98c912d6d41fe14af18e3eb/js/ui/status/keyboard.js#L382
>From here (https://github.com/GNOME/gnome- shell/blob/2997e4950ba31747b5e3260c306456b0de413421/js/misc/keyboardManager.js#L30) it seems like this will ungrab the keyboard under some circumstances. BTW this is still an issue in bionic as of today. I have never read the ubuntu/gnome sources before, so please forgive if I have misinterpreted something. Also, thanks to incredible-angst for pointing out the DBUS method, which is how I found these lines. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244090 Title: Pressing any global keyboard shortcut causes temporary loss of focus To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-settings-daemon/+bug/1244090/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs