BloopAI / bloop

bloop is a fast code search engine written in Rust.

Home Page:https://bloop.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically repeat all characters when entering

leezhian opened this issue · comments

Describe the bug
Automatically repeat the entire text when entering Chinese.

Expected behavior
Using Chinese input normally in conversations.

To Reproduce
How can we reproduce the bug? Helpful information could include:
device:macbook m1 pro
system:macos 14.2.1
input software:xunfei v1.1.1004 (https://srf.xunfei.cn/#/)
lang:Chinese

input: nihao
expected output:你好
error output:nnnninini'hni'hani'hani'hao你好

Screenshots or output

2024-02-20.16.33.20.mov

Additional context
version 0.6.2

Hello @leezhian, thank you for the bug report. We actually now have two types of input, you can choose it in Settings -> Preferences. Can you try using the Simple one?

你好@leezhian,感谢您的错误报告。实际上我们现在有两种类型的输入,您可以在“设置”->“首选项”中选择。你能尝试使用简单的吗?

image

Is that so?

Yes, this looks correct. I checked again and found the problem. Although it is a simple textarea there is some complicated logic around the persisting chat state across hard rerenders that had a bug for non-Latin input methods. This should be fixed in the next release. Sorry for the inconvenience

I met the same problem, but the problem only occurred in Simplified Conversation input. When I changed this option into Default, I can use Chinese input method normally.
image