hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
11.12k stars 664 forks source link

exp/textinput: unexpectedly duplicated input with MSIME #3041

Closed hajimehoshi closed 4 months ago

hajimehoshi commented 4 months ago

Ebitengine Version

af29b7194df8e6cfe8251cabe31a986de095da63

Operating System

Go Version (go version)

go version go1.22.0 windows/arm64

What steps will reproduce the problem?

  1. Run examples/textinput on Chrome
  2. Try to input some Japanese texts with MSIME

What is the expected result?

A text is input correctly

What happens instead?

A text is sometimes unexpectedly duplicated

https://github.com/user-attachments/assets/b01ab853-b9fe-4947-bd64-958003d6c970

Anything else you feel useful to add?

No response