Why typing with ibus-unikey make some part of words dissappear?

I use ibus-unikey to type Vietnamese in LibreOffice Writer. While typing, I noticed some words, their part disappeared sometime. This haven’t happened in gedit. So I recorded this bug, by typing a simple word, tôi multiple times with ibus-unikey. To get tôi, you need type ‘t’, ‘o’, ‘o’,‘i’, ‘’.

Errors occured at the beginning of the video and at 6 sec.

Is there solution for this?

Using Debian Buster and

Office Writer:
Version: 6.1.5.2
Build ID: 1:6.1.5-3+deb10u6

Whatever the quality of the video, it is difficult, without any audio track, to have an opinion. Edit your question to attach a sample file.

Are you sure no AutoCorrect entry also plays some trick without you being aware of this. This would be the case if the transformation occurs when you hit Space.

I typed repetively ‘t’, ‘o’, ‘o’,‘i’, ‘’, the output should be: tôi tôi tôi tôi tôi tôi …
but at the beginning of the video and at 6 second, pressing space eat two last character of the word. Resulting, “t”, then I just continue typing ‘t’, ‘o’, ‘o’,‘i’, ‘’ repetively.

Then if this happens when the space bar is pressed, check the AutoCorrect options to make sure there is no rule causing the deletion.

I have disabled AutoCorrect → While Typing functionality, but doesn’t seem to have any affect. Meaning, sometime characters get removed by space.

I tried to set language to Vietnamese. I can do so for text, but there does not seem to be any script driver in Tools>Options, Language Settings>Languages (either Asian or Complex Text Layout). Does all the transformation occur in the OS input layer? What must I install to reproduce the issue? ibus 1.5.22, ibus-gtk3 1.5.22 and ibus-qt 1.3.3 is already there. I notice there is a specific ibus-wayland. Since Wayland is still a bit experimental, it may play in the issue. What is your desktop configuration? Wayland or X.org, GNOME or another one?

I use Debian Buster’s Gnome Desktop (default). Display manager is gdm3
To type Vietnamese:

  1. install ibus-unikey: apt install ibus-unikey .
    (My version is ibus-unikey/stable,now 0.6.1-1.1+b1 amd64 [installed])
  2. Add Vietnamese (Unikey) as input source: “Settings” => “Region & Language” => Add Vietnamese (Unikey)
  3. Now you can type Vietnamese in any application by changing the language icon on the top right corner (or with shortkey : Windows-button + Space bar)

SCREENSHOT SAMPLE

While typing Vietnamese in Writer, sometime some characters get erased/swallowed after . On the other hand, typing Vietnamese in gedit, terminal and browsers work normally.

Hopefully, this help you reproduce the bug.

I am not sure about this question “Does all the transformation occur in the OS input layer?”, because I don’t understand well how ibus works. Probably yes.

The problem is indeed Wayland. According to this link Gnome Display Manager runs on WayLand. When I switched to e.g. Xorg, then I can type without problem.

Please add an answer telling the issue is in Wayland so that the question appears as “answered” from the home page.

The issue is the running display server is Wayland. When changed to e.g. Xorg, then I can type normally.

On Debian Buster, display server can be changed in login prompt or /etc/gdm3/daemon.conf (uncomment “WaylandEnable=false”)