Ubuntu 24.04: Accented characters persisting in gnome-text-editor (in X11 session)

Bug #2064025 reported by Cristiano Fraga G. Nunes
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ibus
New
Unknown
ibus (Ubuntu)
Triaged
High
Unassigned

Bug Description

In the GNOME text editor, after typing an accent (e.g., "~"), the symbol remains visible at the cursor location instead of disappearing after subsequent character input.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-text-editor 46.1-1
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.498
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 28 16:47:16 2024
LiveMediaBuild: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: gnome-text-editor
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Cristiano Fraga G. Nunes (cfgnunes) wrote :
Revision history for this message
Cristiano Fraga G. Nunes (cfgnunes) wrote (last edit ):

Upstream bug tracker (GNOME Text Editor):
https://gitlab.gnome.org/GNOME/gnome-text-editor/-/issues/667

Revision history for this message
Cristiano Fraga G. Nunes (cfgnunes) wrote (last edit ):

The upstream bug tracker was moved to (GTK):
https://gitlab.gnome.org/GNOME/gtk/-/issues/6676

Revision history for this message
Cristiano Fraga G. Nunes (cfgnunes) wrote :

I conducted some tests:

Ubuntu 24.04:
GNOME Text Editor version: 46.1
gtk4-launch --version: 4.14.2
Results:
- X11: the bug happens.
- Wayland: no problem.

Ubuntu 22.04:
GNOME Text Editor version: 42.2
gtk4-launch --version: 4.6.9
Results:
- X11: no problem.
- Wayland: no problem.

Fedora 40:
GNOME Text Editor version: 46.1
gtk4-launch --version: 4.14.2
Results:
- X11: no problem.
- Wayland: no problem.

---

It also looks to me to be Ubuntu 24.04 specific (with X11).

summary: - Accented characters persisting in GNOME Text Editor
+ Ubuntu 24.04: Accented characters persisting in Text Editor with X11
+ session
summary: - Ubuntu 24.04: Accented characters persisting in Text Editor with X11
- session
+ Ubuntu 24.04: Accented characters persisting in Text Editor (X11
+ session)
summary: - Ubuntu 24.04: Accented characters persisting in Text Editor (X11
+ Ubuntu 24.04: Accented characters persisting in Text Editor (in X11
session)
summary: - Ubuntu 24.04: Accented characters persisting in Text Editor (in X11
- session)
+ Ubuntu 24.04: Accented characters persisting in gnome-text-editor (in
+ X11 session)
Revision history for this message
Cristiano Fraga G. Nunes (cfgnunes) wrote (last edit ):

We suspect that the root cause is the ibus.

A workaround to fix this problem is running:
GTK_IM_MODULE=simple gnome-text-editor

Furthermore, I have opened an issue in ibus upstream:
https://github.com/ibus/ibus/issues/2637

no longer affects: gtk4 (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report and for helping to investigate with upstreams!

Changed in ibus (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in gnome-text-editor (Ubuntu):
status: New → Invalid
Changed in ibus:
status: Unknown → New
no longer affects: gnome-text-editor (Ubuntu)
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.