Ubuntu shortcuts not working when Chrome text fields are highlighted

Since recently, whenever a text-field (e.g. the address bar or the askubuntu search field) is highlighted inside Google Chrome, I cannot use Ubuntu shortcuts (e.g. Ctrl+W to close a window). When hitting Ctrl+W nothing happens. As soon as I press tab to leave the text-field, the shortcuts work as expected (e.g. Ctrl+W closes the window).

I have no idea why this happens. Any ideas how to debug or solve this?

I am using Ubuntu 18.04.1 LTS and Google Chrome 71.0.3578.98.

Edit: It seems that this issue is somehow connect to Keyboard Layouts. Mostly, I use the layout "English (US, intl., with dead Keys)". In this case, the above problem occurs and shortcuts no longer work when text fields are highlighted. When switching to "English (US)", Ctrl + w closes the window as intended, even when a text field is highlighted. (Credit to mr. Pavlikov)


Had the same problem. What worked for me was that I changed the order of language input on my system. Make sure your default language (the one you use the most) is the first on the 'Region & Languages' input sources tab. That would make your shortcuts work when using the first language, but not the second.

Hope this helps.


I also have same problem in ubuntu-mate 18.10 and google chrome 71

the problem is probably because there is no required library/package for the ibus to work in google chrome

installing these package fix the problem in my computer

sudo apt install ibus ibus-gtk ibus-gtk3 ibus-qt4


The update to Chrome 72 today solved the issue.

Related bug on the chromium bug tracker: https://bugs.chromium.org/p/chromium/issues/detail?id=899881

Related fixing commit: https://chromium.googlesource.com/chromium/src.git/+/faa579def265753007f87c3ea85a907f0ed469b0