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).
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).