https://bugzilla.redhat.com/show_bug.cgi?id=1659748
--- Comment #3 from Mike FABIAN mfabian@redhat.com --- There are two ways to use the Sinhala Wijesekera keyboard through ibus:
1) using ibus-m17n (m17n:si:wijesekera) 2) using ibus-typing-booster
You are using 1), but I also tested 2) and compared.
My test results are as follows:
Gnome-Xorg: m17n:si:wijesekera: (It makes no difference whether use-surrounding-text is 0 or 1) gedit: OK libreoffice (writer): OK gnome-terminal: OK (bad rendering, but input works OK) emacs: WRONG. xterm: WRONG, exactly the same way as in emacs typing-booster, si-wijesekera input method: gedit: OK libreoffice (writer): OK gnome-terminal: OK emacs: OK xterm: OK Gnome-Wayland: m17n:si:wijesekera: gedit: OK libreoffice (writer): OK gnome-terminal: OK emacs:WRONG xterm: WRONG, exactly the same way as in emacs typing-booster, si-wijesekera input method: gedit: OK libreoffice (writer): OK gnome-terminal: OK emacs: OK xterm: OK KDE Plasma: m17n:si:wijesekera: gedit: OK libreoffice (writer): OK gnome-terminal: OK konsole: OK kate: OK emacs: WRONG xterm: WRONG typing-booster, si-wijesekera input method: gedit: OK libreoffice (writer): OK gnome-terminal: OK konsole: OK kate: OK emacs: OK xterm: OK
(Of course the terminals cannot display Sinhala well, but I can still test whether the input works by typing echo '' > /tmp/test into the terminal, then type the Sinhala between the '' and the return, then look at the contents of the /tmp/test file for example with gedit)
According to my tests, the desktop does not seem to make a difference. Sinhala input into programs using XIM like emacs or xterm fails, it fails in exactly the same way for emacs and xterm, I think it fails in the same way for all programs using XIM.
Programs using ibus-input modules like gedit, libreoffice, gnome-terminal, konsole, kate, seem to work fine.
What is different between your tests and mine is that for me libreoffice works, for you it does *not* work. I don’t understand why, I used a Fedora 29 installation in qemu with all current updates for testing.
And what is a bit surprising that using si-wijesekera through ibus-typing-booster *always* works for me, in all programs, even those using XIM like emacs and xterm.
So using si-wijesekera through ibus-typing-booster might be a workaround for you until we figure out what the problem with ibus-m17n is.