Can't use dead keys or input e.g. Chinese characters in GNOME shell

Bug #1900906 reported by Fernando
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
mutter (Ubuntu)
Fix Released
Medium
Unassigned
Focal
Fix Released
Medium
Unassigned
Groovy
Fix Released
Medium
Unassigned

Bug Description

I'm running an up-to-date Ubuntu Focal. I have a standard Spanish keyboard. Under X, if I try to input an accentuated character, such as á or ü, in places like the search field in the overview or when writing a folder name in the app grid, nothing appears. Under Wayland, it fails each time on the first input of an accentuated character, then it works.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-05-01 (174 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
Package: ibus
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
RelatedPackageVersions: mutter-common 3.36.6-1ubuntu0.20.04.2
Tags: focal
Uname: Linux 5.4.0-52-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-09-29 (22 days ago)
UserGroups: sudo
_MarkForUpload: True

Fernando (fmuro)
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

  apport-collect 1900906

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: focal
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Changed in ibus (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Fernando (fmuro) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Fernando (fmuro) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Fernando (fmuro) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Fernando (fmuro) wrote : ProcEnviron.txt

apport information

Revision history for this message
Fernando (fmuro) wrote : ShellJournal.txt

apport information

Revision history for this message
Fernando (fmuro) wrote : monitors.xml.txt

apport information

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: Can't input accents in GNOME shell

I can reproduce the issue on focal but not on groovy. I installed the groovy version of the ibus binaries on focal, but the issue was still present, so this seems not to be an ibus bug.

I can type ü with a German keyboard layout, so it seems to be about dead keys rather than accented letters as such. Furthermore, I can't input e.g. Chinese characters using IBus at all.

Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Confirmed
Changed in ibus (Ubuntu):
status: Incomplete → Invalid
summary: - Can't input accents in GNOME shell
+ Can't use dead keys or input e.g. Chinese characters in GNOME shell
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

It's a regression from mutter 3.36.6. Fixed through:

https://gitlab.gnome.org/GNOME/mutter/-/commit/3536ad08

Fix confirmed via this PPA:

https://launchpad.net/~gunnarhj/+archive/ubuntu/mutter

Upload separately or together with other stuff?

affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
no longer affects: ibus (Ubuntu Focal)
Changed in mutter (Ubuntu Focal):
importance: Undecided → Medium
status: New → Triaged
Changed in mutter (Ubuntu):
status: Confirmed → Fix Released
tags: added: regression-update
Changed in mutter (Ubuntu Focal):
status: Triaged → Fix Committed
tags: added: fixed-in-3.36.7 fixed-in-3.38.1 fixed-upstream
no longer affects: ibus (Ubuntu Groovy)
no longer affects: ibus (Ubuntu)
Revision history for this message
Fernando (fmuro) wrote :

I'm amazed and very grateful for how fast this has been fixed, thanks! Will there be an SRU soon shipping this fix?

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

The fix is already shipping in Ubuntu 20.10 but I don't know when a fix is planned for Ubuntu 20.04. That will be part of the update to mutter 3.36.7.

Revision history for this message
Fernando (fmuro) wrote :

Thanks, Daniel. Is there any way of encouraging that mutter update in Focal? Or at least of estimating when it will be shipped?

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

Yes, done in bug 1903230

Revision history for this message
Fernando (fmuro) wrote :

Wow, thanks!

Revision history for this message
Fernando (fmuro) wrote :

The bug persists with accented characters if the dead key is the first character you type. I mean, open the overview, type "á" and you see just "a". Then type another "á" and it shows correctly. Same if you type "lá", the accent shows correctly because the dead key wasn't the first thing you typed.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

On 2021-01-16 08:48, Fernando wrote:
> The bug persists with accented characters if the dead key is the first
> character you type. I mean, open the overview, type "á" and you see just
> "a". Then type another "á" and it shows correctly. Same if you type
> "lá", the accent shows correctly because the dead key wasn't the first
> thing you typed.

That happens to me if the search field is not focused when you start typing, which it seems to not be initially by default. If I first click the search field, also the first letter can be typed using a dead key.

Can you maybe report it as a separate issue, preferably upstream:

https://gitlab.gnome.org/GNOME/mutter/-/issues

Changed in mutter (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in mutter:
status: Unknown → Fix Released
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.