Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wayland + fcitx5 input bug #763

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

S-xgx1
Copy link

@S-xgx1 S-xgx1 commented Apr 10, 2024

我不知道keyboard_service_widget.dart文件修改的作用,我的参考:AppFlowy-IO/AppFlowy@f5cc652
delta_input_on_replace_impl.dart内如果replacement开头出现空行,则无法正常处理输入法,但是replacement在non_delta_input_service.dart的apply方法内执行了format方法,导致无法在delta_input_on_replace_impl.dart内判断开头时是否是空格
但是用方向键移动插入指针到前面的字符不会产生响应,就像我下面这个视频展示的一样

view.mp4

但我不懂dart和flutter,不知如何修复,并且delta_input_on_replace_impl.dart的修复一定不符合规范和运行逻辑,我希望能帮我修好。
可以的话我希望能修复输入问题,插入指针移动问题需要修复的话,也可以联系我,我能够提供测试设备和环境。

修复fcitx5和wayland下无法输入中文问题

我的英文不好,用中文回答了十分抱歉。

S-xgx1 and others added 2 commits April 9, 2024 16:46
@CLAassistant
Copy link

CLAassistant commented Apr 10, 2024

CLA assistant check
All committers have signed the CLA.

@LucasXu0
Copy link
Collaborator

@XGX1 Thanks for your testing and help. Can you please try testing this PR? Here's the link: #765

@S-xgx1
Copy link
Author

S-xgx1 commented Apr 11, 2024

@XGX1@XGX1 Thanks for your testing and help. Can you please try testing this PR? Here's the link: 感谢您的测试和帮助。您能尝试测试一下这个 PR 吗?这是链接: #765#765@XGX1 感谢您的测试和帮助。你能尝试测试这个 PR 吗?这是链接:#765

@XGX1感谢您的测试和帮助。您能尝试测试一下这个 PR 吗?这是链接: #765

这个测试是指把代码合并到我的设备上测试吗?我不懂这个

@LucasXu0
Copy link
Collaborator

You can install gh first, which is a set of GitHub tools that allows you to easily clone a repository or checkout a branch.

After that, here are the steps you can follow to test the branch.

  • gh repo clone AppFlowy-IO/appflowy-editor
  • cd appflowy_editor
  • gh pr checkout 765
  • flutter pub get
  • flutter run

@S-xgx1
Copy link
Author

S-xgx1 commented Apr 11, 2024

还是无法使用和之前演示的问题一样

@S-xgx1
Copy link
Author

S-xgx1 commented Apr 11, 2024

You can install 您可以先安装ghgh first, which is a set of GitHub tools that allows you to easily clone a repository or checkout a branch.,这是一组 GitHub 工具,可让您轻松克隆存储库或签出分支。

您可以先安装gh ,这是一组 GitHub 工具,可让您轻松克隆存储库或签出分支。

After that, here are the steps you can follow to test the branch.之后,您可以按照以下步骤来测试分支。

之后,您可以按照以下步骤来测试分支。

* gh repo clone AppFlowy-IO/appflowy-editorgh 存储库克隆 AppFlowy-IO/appflowy-editorgh 存储库克隆 AppFlowy-IO/appflowy-editor

* cd appflowy_editorcd appflowy_editorcd appflowy_editor

* gh pr checkout 765gh 公关结账 765gh 公关结账 765

* flutter pub get扑扑酒吧得到扑扑酒吧得到

* flutter run扑腾跑扑腾跑

没有解决
log:
log.txt
我输入了:zhongwen
显示:zhong wen zh中文ong w e zhong w zhong zhon zh zh o z

@LucasXu0

@LucasXu0
Copy link
Collaborator

The log.txt file helps a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants