-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
无法学习自造词 #1490
Comments
你是否自造词上屏后 3 秒内退格删除了?如果是的话这是一个特性,可以防止造错的词被过早记录。 |
另外我们的 app 的正式发布版(F-Droid 版)已经更新到 9 月 1 日发布的 3.3.0,请你安装新版或者每夜版再尝试能否复现此问题。 |
没有删除,是在已经上屏的自造词后面接着输入该词。也尝试了等待3秒后再输入,同样没有被记录。
在每夜版仍能复现: 更新日志 |
检查你的各个配置里是否有: dictionary:
enable_user_dict: false |
在 rime 文件夹下 刚部署完的时候是可以记录自造词的,大概不是配置的问题? |
没有遇到过。 |
找到原因了,是三星智能管理器 app 的“每日自动优化”的原因,这个功能默认每天凌晨三点运行一次,之后 trime 就无法记录自造词了…… FYI,三星对这个功能的描述是“无用的文件将被删除”,“后台应用程序将被关闭,但不会关闭您最近使用的应用程序”。不太清楚到底是 rime 文件夹中的文件受到了影响,还是 rime 的后台进程受到影响(我之前有对 trime 关闭电池优化等确保它可以后台常驻运行)? 对我个人来说关掉这个功能就好了,如果开发者也认为 trime 方面不需要做什么的话,请直接关闭这个 issue 。 |
摘要 / Summary
如题, trime 无法记录自造词。重新部署后会恢复正常,但一段时间后会再次无法学习自造词。出现问题时尝试导出日志会失败,提示 java.util.ConcurrentModificationException 。
重现步骤 / Steps to Reproduce
部署,一段时间(通常若干小时)后尝试输入自造词,随即再次尝试输入该词,会发现该词没有被记住,仍然需要手动选字。
预期行为 / Expected Behavior
自造词应当能够被学习记住。
日志 / Log
如上所述,发生问题时的日志无法输出。
以下为刚部署完成时的日志:
Log
截图 / Screenshot
No response
附加信息 / Additional Context
使用默认配置;主题为同文风;方案为小鹤双拼,并增加以下配置:
系统版本 / OS Version
OneUI 4.1, Android 12
应用版本 / App Version
v3.2.19-0-ge46046ab-release
构建信息 / Build Information
构建者:F-Droid
Git 仓库:https://github.com/osfans/trime
构建 Git 哈希:e46046abfb030a2687033f74ad00d1b2693af433
构建时间:2024年7月3日 08:17:08
The text was updated successfully, but these errors were encountered: