I write in Spanish and sometimes use diacritics with dead keys, for example "liberación" ("liberation" in Spanish). Usually I don't have any problem, but when the GUI freeze for any reason it seems that the diacritic char jump to the first position on the keyboard buffer, then showing "óliberacin", which is very annoying since occur very often while chatting or writing an email. Maybe a xserver or a kernel bug?
I have this problem since more than two year, with several kernels, Ubuntu versions, hardware and versions of Firfeox and Chorme. I couldn't find any pattern neither something strange on dmesg or /var/log files...
Current setup: Ubuntu 16.04 LTS fresh install, kernel 4.4.0-62-generic,
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=es_AR.UTF-8
[...]
$ im-config -l
ibus xim
$ im-config -m
default
missing
ibus
ibus
$ env | grep "XMODIFIERS\|IM_"
XMODIFIERS=@im=ibus
CLUTTER_IM_MODULE=xim
QT_IM_MODULE=ibus
IM_CONFIG_PHASE=1
QT4_IM_MODULE=xim
GTK_IM_MODULE=ibus