Dead key preview causes issues
Recently upgraded my linux mint to 22, based on ubuntu 24.10, with vanilla-gnome installed manually. The upgrade introduced me to a new version (I think?) of gtk dead key preview.
Deadkeys themselves work absolutely fine, it's really just the preview that seems buggy. If I login to cinnamon (linux mint default), which has no dead key previews I do not experience these issues. Maybe this is an issue with tilix and obsidian, but it really only bugs out with gnome ánd deadkeys, so even though I have filed an issue with obsidian I don't really expect much help there.
There are a few examples I can consistently reproduce. A third example would be that sometimes the preview mode bugs out and I can't leave it anymore, but I don't know exactly how to cause this.
For me, just having the option to disable dead key previews, as discussed in #3778 (closed), would help. Or just any workaround to disable the previews or fix the following issues. I could ofcourse turn off deadkeys altogether, but dutch uses them for a few characters and I'm used to deadkeys.
If there is any workaround to fix this or disable the dead key preview I would love to hear it. I love gnome, but as I'm currently writing a lot I run into this roughly 100s of times a day.
Example 1: dead keys in tilix
Steps to reproduce
- Enter a dead key character, such as
~
by pressingshift+~
and pressing space. - Continue typing a command. Such as
cd ~/Downloads
Current behaviour
The dead key preview stays visible at cursor location. So in this case it would show: cd ~/Downloads~
. I can't screenshot this unfortunately because the preview is removed once the window loses focus.
Expected outcome
I would expect the dead key preview to be removed after pressing space. So it would show cd ~/Downloads
.
Example 2: dead keys in obsidian
In obsidian the "
character is replaced by “
or ”
using the smart typography plugin: https://github.com/mgmeyers/obsidian-smart-typography.
Steps to reproduce
- In obsidian. Type
shift+"
- Press space
Current behavior
After pressing space "
is replaced by Ҭ
.
Expected behaviour
"
to be replaced by “
.
Version information
- Linux mint 22 with
vanilla-gnome
installed. - GTK 3.24.41 and 4.14.2 if I understand correctly.
- NVIDIA 550, but I don't think this is relevant
- X11, I can't use wayland for other reasons
GTK version:
ii libgtk-3-0t64:amd64 3.24.41-4ubuntu1.2 amd64 GTK graphical user interface library
ii libgtk-3-0t64:i386 3.24.41-4ubuntu1.2 i386 GTK graphical user interface library
ii libgtk-3-bin 3.24.41-4ubuntu1.2 amd64 programs for the GTK graphical user interface library
ii libgtk-3-common 3.24.41-4ubuntu1.2 all common files for the GTK graphical user interface library
ii libgtk-4-1:amd64 4.14.2+ds-1ubuntu1 amd64 GTK graphical user interface library
ii libgtk-4-common 4.14.2+ds-1ubuntu1 all common files for the GTK graphical user interface library
ii libgtk-4-media-gstreamer 4.14.2+ds-1ubuntu1 amd64 GStreamer media backend for the GTK graphical user interface library
ii libgtk-layer-shell0 0.8.2-1build2 amd64 Wayland Layer Shell protocol desktop component library
ii libgtk2.0-0t64:amd64 2.24.33-4ubuntu1.1 amd64 GTK graphical user interface library - old version
ii libgtk2.0-bin 2.24.33-4ubuntu1.1 amd64 programs for the GTK graphical user interface library
ii libgtk2.0-common 2.24.33-4ubuntu1.1 all common files for the GTK graphical user interface library
ii libgtk3-perl 0.038-3 all Perl bindings for the GTK+ graphical user interface library
ii libgtkd-3-0:amd64 3.10.0-3build1 amd64 GTK+ graphical user interface library - D bindings
ii libgtkmm-3.0-1t64:amd64 3.24.9-1 amd64 C++ wrappers for GTK+ (shared libraries)
ii libgtksourceview-3.0-1:amd64 3.24.11-2build4 amd64 shared libraries for the GTK+ syntax highlighting widget
ii libgtksourceview-3.0-common 3.24.11-2build4 all common files for the GTK+ syntax highlighting widget
ii libgtksourceview-4-0:amd64 4.8.4-5build4 amd64 shared libraries for the GTK+ syntax highlighting widget
ii libgtksourceview-4-common 4.8.4-5build4 all common files for the GTK+ syntax highlighting widget
ii libgtksourceview-5-0:amd64 5.12.0-1build1 amd64 shared libraries for the GTK 4 syntax highlighting widget
ii libgtksourceview-5-common 5.12.0-1build1 all common files for the GTK 4 syntax highlighting widget