dead key pressed twice is not disabled after the first non-dead-key pressed
Steps to reproduce
I've reproduced this with a f41 livecd. You need xkeyboard-config >= 2.42 to get the ergo-l layout.
- In gnome control center, go to keyboard/add input source/French/French(Ergo-l)
- Open a gtk application where you can input text (I used gnome text editor, but I was also able to reproduce with gtk demos)
- Press the key labelled
o
,o
, thend
, andd
once more (key names on a qwerty keyboard)
Current behavior
ëè
Expected outcome
ëe
o
o
in ergol is supposed to add ¨
to the next key pressed, and the key pressed after that should get the default behaviour.
If I want to get ëè in ergol, I'd press o
o
d
o
d
QT applications, or electron application have the expected behaviour, o
o
d
d
prints ëe
Version information
I'm using fedora 41 with wayland, gtk4-4.16.5-2.fc41.x86_64
and xkeyboard-config-2.42-2.fc41.noarch
I was also able to reproduce a few weeks ago with gtk built from git.
Additional information
Edited by Christophe Fergeau