-
Notifications
You must be signed in to change notification settings - Fork 111
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
alacritty inline preedit #590
Comments
你的 alacritty 是什么版本?而且你给 xim 开启了 on the spot? 我这里运行 alacritty 的 cap 像是这样 而你的很奇怪,不知道为什么是 4000000012 后面的 bit 表示支持 inline preedit,而 xim 只有在使用 on the spot 才会用 preedit,而 fcitx 只有你手动设置(默认不勾选)这个选项 才会对声明采用 on the spot 的 xim 程序启用 inline preedit,也就是说默认 fcitx5 无论程序是否支持,都不会对 xim 使用 inline preedit 。当然,我系统上无论这个选项怎么设置 alacritty 都不采用 inline preedit,所以我也很奇怪你的 alacritty 的版本是什么样的。 |
我的alacritty是當前git最新版本alacritty/alacritty@18f9c27
on the spot 是啥我搞不懂所以勾選了試試,後來重啟之後一樣不顯示,我又重置回預設值了,沒勾選,所以我需要勾選嗎?難道不是重啟fcitx5跟alacritty就夠了? |
我测试了一下 alacritty git 的版本,果然是有问题,但 0.10.1 没有问题,不过 alacritty 处理输入法的库是靠 winit 吧,看起来是 winit 的 bug。不过我这里也没有对应处理好它不按照 xlib 的 xim 实现进行的情况。 暂时给你提供两个比较快捷解决问题的方案: |
Opened a bug in winit : rust-windowing/winit#2448 |
这里有好几个不同的问题(你可以将 inline preedit 和 on the spot style 当作一回事) 考虑1和2的现状下,你的fcitx反正都会认为alacritty支持inline preedit并使用xim发送inline preedit,无论你勾选上面截图那个选项与否(我预期中的行为是不勾选则fcitx不对xim使用 inline preedit)。上面我的提交是为了修复2。 同时你直接关心的问题是问题3 |
謝謝大佬解釋哈,雖然還是沒有很懂, |
2修复了之后,你还是可以通过上面显示的选项来让它使用inline preedit(简单来说,现状是你用当前的fcitx5 + alacritty git ,勾不勾那个选项都是勾的效果,我的修复是让它勾是勾的效果,不勾是不勾的效果) |
嗯,這點我是有看懂,其他部份我除了回報也沒啥能作的了...對輸入法沒啥研究...就看看你們討論漲漲姿勢了... |
3的原因看起来是因为我打错了一行很久,但其他一些我用来测试实现似乎并不依赖这个行为,所以没有问题…现在可以正常显示 inline preedit 了 |
我等發行版打包新包好了,好懶 (┐「ε:) |
Describe the bug
inline preedit不顯示
alacritty/alacritty#1613 (comment)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
inline preedit正常顯示
alacritty/alacritty#1613 (comment)
他們說inline preedit support修復了
It seems like your IME provide its own inline input.
Desktop (please complete the following information):
fcitx5-diagnose.log
Additional context
我對inline preedit實在搞不清楚...他們說是IME的問題,我不確定是該在fcitx5-chewing回報還是框架這兒?
The text was updated successfully, but these errors were encountered: