google / mozc

Mozc - a Japanese Input Method Editor designed for multi-platform
Other
2.32k stars 329 forks source link

Duplicated input and unable to delete the first letter on GTK4 applications #930

Closed pineapplehunter closed 1 month ago

pineapplehunter commented 1 month ago

Description

I am having issues when using mozc on gtk4 applications. The issues are,

  1. When I type in something in Japanese and press enter, it creates a duplicate input after the input and cannot be deleted until I click somewhere else with the mouse.
  2. When I type in something in Japanese, pressing backspace leaves one character and cannot be deleted until I click somewhere else with the mouse.

I am trying to figure out what is causing this behavior, but I don't have much knowledge of this program. If there are any pointers or ways to debug the process, I am very happy to help.

Steps to reproduce

  1. Open a gtk4 application
  2. type something in Japanese
  3. hit enter, or try to delete

Expected behavior

Actual behavior

See Screenshots.

Screenshots

The enter case The delete case

Version or commit-id

Tested both on mozc built on tag 2.29.5374.102 and latest git.

Environment

Investigations

Additional context

Add any other context about the problem here.