Non-English keyboards sometimes stop emitting characters

Bug #2073424 reported by Ohad Lutzky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have English, Hebrew, and Japanese (mozc) configured as my keyboard layouts. This usually works fine. However, frequently (maybe once an hour), only the English layout will emit any characters in specific apps - namely google-chrome and obsidian (both chromium-based πŸ€”). This is a regression since 24.04 (23.10 didn't have this).

Removing Japanese (mozc) doesn't help, this issue still reproduces.

1. I switched my keyboard to Hebrew using the keyboard shortcut
2. The indicator did indeed show Hebrew
3. I focused Google Chrome's URL bar and pushed letter keys on my keyboard

What I expected: Letters show up the URL bar
What happened: Nothing

Hint: Opening a Gnome app, such as hitting Alt+F2 to run `ubuntu-bug`, or running `gnome-text-editor`, seems to temporarily fix this issue.

I'm not sure which package causes this. However, journalctl does have these logs show up at roughly the same time:

```
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 1008ff02 with keysym 1008ff02 (keycode e9).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 1008ff03 with keysym 1008ff03 (keycode e8).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Jul 16 08:59:09 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 1008ff02 with keysym 1008ff02 (keycode e9).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 1008ff03 with keysym 1008ff03 (keycode e8).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Jul 16 08:59:10 hyrax gnome-shell[852758]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
```

```
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04 LTS
Release: 24.04
$ apt-cache policy gnome-shell
gnome-shell:
  Installed: 46.0-0ubuntu5.1
  Candidate: 46.0-0ubuntu5.1
  Version table:
 *** 46.0-0ubuntu5.1 500
        500 http://ie.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
        100 /var/lib/dpkg/status
     46.0-0ubuntu5 500
        500 http://ie.archive.ubuntu.com/ubuntu noble/main amd64 Packages
```

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-shell 46.0-0ubuntu5.1
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
NonfreeKernelModules: lkp_Ubuntu_6_8_0_35_35_generic_105
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 17 21:35:34 2024
DisplayManager: gdm3
InstallationDate: Installed on 2023-07-05 (378 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
RelatedPackageVersions: mutter-common 46.0-1ubuntu9
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ohad Lutzky (lutzky) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That flood of log messages is usually harmless, and is tracked in bug 1857392.

tags: added: i18n
Revision history for this message
Ohad Lutzky (lutzky) wrote :

This is reproducing right now. Interestingly, when using the Hebrew keyboard layout, typing non-Hebrew characters which are available in this layout work just fine: numbers, punctuation, capital letters in English when holding Shift. So it's something about Hebrew letters being typed.

Japanese, is also broken at the same time - it opens the little mozc choices menu based on what I'm typing, but none of this makes it to the browser window.

Opening a terminal window to try and identify log messages seems to have undone it. Nothing relevant identified other than the "Overwriting existing binding" messages I've pasted above.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.