mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-28 09:56:08 +00:00
[GH-ISSUE #2459] [Bug] Chinese Input bugs in Fcitx5-chewing and Wayland #9466
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#9466
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tobiichi3227 on GitHub (May 5, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2459
Bug Description
When I typing Chinese by using Fcitx5, the previous typed text were replaced by now typed.
And when end of typing, the text length became twice
How to Reproduce
Using Fcitx5 input method
Expected Behavior
Like typing in English
Operating System
Arch Linux
AppFlowy Version(s)
0.1.4
Screenshots
Additional Context
I am using Wayland, and I didn't test this bug in Xorg
Maybe Xorg didn't have this bug
@annieappflowy commented on GitHub (May 6, 2023):
https://github.com/flutter/flutter/issues/113909#issuecomment-1311478223
This is a known issue
@annieappflowy commented on GitHub (Sep 4, 2023):
Should be fixed in the latest release. Let us know if it doesn't work for you

@Crany-web commented on GitHub (Dec 13, 2023):
Samuti ilmnes viga Fcitx5 kasutamisel hiina keele sisestamiseks, kui kasutasin AppFlowy uusimat versiooni AUR-i hoidlas. Kasutan X11.

@nyacat commented on GitHub (Mar 26, 2024):
I have same issue as https://github.com/AppFlowy-IO/AppFlowy/issues/2459#issuecomment-1854192004
@S-xgx1 commented on GitHub (Apr 6, 2024):
This problem still exists and can still be reproduced in wayland
@S-xgx1 commented on GitHub (Apr 9, 2024):
我不知道keyboard_service_widget.dart文件修改的作用,我的参考:
github.com/AppFlowy-IO/AppFlowy@f5cc6521fbdelta_input_on_replace_impl.dart内如果replacement开头出现空行,则无法正常处理输入法,但是replacement在non_delta_input_service.dart的apply方法内执行了format方法,导致无法在delta_input_on_replace_impl.dart内判断开头时是否是空格
但是用方向键移动插入指针到前面的字符不会产生响应,就像我下面这个视频展示的一样
https://github.com/AppFlowy-IO/AppFlowy/assets/31309149/b44039f7-c26e-49bf-a8a5-0c96e48ac3ec
但我不懂dart和flutter,不知如何修复,并且delta_input_on_replace_impl.dart的修复一定不符合规范和运行逻辑,我希望能帮我修好。
这是我的修改:068b7948ab8380f3c7ef655f9891a4f92a8ba518
可以的话我希望能修复输入问题,插入指针移动问题需要修复的话,也可以联系我,我能够提供测试设备和环境。
修复fcitx5和wayland下无法输入中文问题
我的英文不好,用中文回答了十分抱歉。
可以帮助我吗?@annieappflowy @LucasXu0
@LucasXu0 commented on GitHub (Apr 10, 2024):
@XGX1 Really appreciate your testing and help. I'll try your changes and see if I can fix it on Linux as soon as possible.
@Eason0729 commented on GitHub (Nov 17, 2024):
This issue still exist, is there anyone working on this now?
@PeterWang-dev commented on GitHub (Apr 12, 2025):
Problem still exists. Any one working on it?