Closed dramforever closed 1 year ago
You can try the latest daily build, seem fix by #711
You can try the latest daily build, seem fix by #711
No, this issue is untouched, and there are 2 problems need to be resolved
according to the config, auto_caps
should have 3 valid value: true
, false
and ascii
:
but isAutoCaps
is defined as a boolean here:
look at this condition isAutoCaps || Rime.isAsciiMode()
:
https://github.com/osfans/trime/blob/6c8f0313f5b1523f31c97105d9f58c8c31ce5613/app/src/main/java/com/osfans/trime/ime/core/Trime.java#L782-L787
it's obvious, when isAutoCaps == false
, it checks isAsciiMode
due to the OR logic, but it should not
the correct condition this line in pseudo code should be:
// if true/false/ascii are valid
isAutoCaps == "true" || (isAutoCaps == "ascii" && Rime.isAsciiMode())
// if only true/false are valid
isAutoCaps == "true"
I don't have android develop environment set, I hope someone else can post a PR to fix that
3 4 5个版本之后仍然没修。
好像我在 FDroid 上更新后没问题了,不过我也没有仔细看配置什么的
3.2.9上已经不能复现。可能已经修复了。如果修复了,维护者应该关闭这个issue。
确认新版已经没有这个问题了
Describe the bug
style/auto_caps: false
也无法关闭英文模式句首自动大写To Reproduce
在
trime.custom.yaml
中配置然后重启 Trime,切换到英文模式开始输入包含
.
的文本Expected behavior
句首不自动大写
Log
Screenshots
Smartphone (please complete the following information):