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

如何设置可以在开启 inline_preedit 时固定候选框的位置? #911

Closed
Eason0210 opened this issue Jun 7, 2023 · 13 comments
Closed

Comments

@Eason0210
Copy link

Eason0210 commented Jun 7, 2023

@fxliang 大佬,感谢更新了小狼毫到0.15版本。

我更新了最新发布的 0.15.0,发现在开启inline_preedit 时,候选框的位置会随着输入往后移动。
请问下如何设置才能恢复到老版本那种固定候选框的模式?

如下图:
image

期望候选框的其实位置是在行首位置。比如微软拼音的效果:
image

我的weasel.custom.yaml 设置如下,其他都是用的默认设置。

patch:
  style/horizontal: true                           # 横排显示
  style/inline_preedit: true                     # 嵌入式候选窗单行显示
@determ1ne
Copy link
Contributor

听起来和窗口绘制的逻辑有关 @fxliang

@fxliang
Copy link
Contributor

fxliang commented Jun 7, 2023

听起来和窗口绘制的逻辑有关 @fxliang

因为光标位置改了吧,上游给哪个光标位置就从那个位置开始绘制的😂

@determ1ne
Copy link
Contributor

听起来和窗口绘制的逻辑有关 @fxliang

因为光标位置改了吧,上游给哪个光标位置就从那个位置开始绘制的😂

我改一下吧,看起来其他软件有的候选会移动,有的不会移动,这个应该提供成一个 flag

@determ1ne
Copy link
Contributor

#912

@Eason0210
Copy link
Author

@determ1ne

我用了 #912 最新构建的版本,现在可以正常工作了,窗口不会再移动了。

image

@Eason0210
Copy link
Author

Eason0210 commented Jun 8, 2023

@determ1ne
反馈下个情况。

#912 构建版本在 Excel 中还是会移动窗口。如下图:

image

Excel 用的是最新的 Office 365 (Microsoft® Excel® 适用于 Microsoft 365MSO (版本 2304 Build 16.0.16327.20200) 6)
Windows 10

@determ1ne
Copy link
Contributor

@determ1ne 反馈下个情况。

#912 构建版本在 Excel 中还是会移动窗口。如下图:

image

Excel 用的是最新的 Office 365 (Microsoft® Excel® 适用于 Microsoft 365MSO (版本 2304 Build 16.0.16327.20200) 6) Windows 10

用微软拼音在 excel 里面也会移动,应该是 excel 在 app 侧设置了某些 tsf 行为。
这种比较难办了

@Eason0210
Copy link
Author

用微软拼音在 excel 里面也会移动,应该是 excel 在 app 侧设置了某些 tsf 行为。
这种比较难办了

我也试了下微软拼音,确实也是这样。看来这是 Excel 自身的问题了。

@RunYou
Copy link

RunYou commented Jun 11, 2023

#912

您能发布一下这个版本么?或者能否告知一下这个912版本如何使用呀?十分感谢

@Eason0210
Copy link
Author

#912

您能发布一下这个版本么?或者能否告知一下这个912版本如何使用呀?十分感谢

可以在 Action 下面下载:
https://github.com/rime/weasel/suites/13439999319/artifacts/736874266

@RunYou
Copy link

RunYou commented Jun 11, 2023

#912

您能发布一下这个版本么?或者能否告知一下这个912版本如何使用呀?十分感谢

可以在 Action 下面下载:

https://github.com/rime/weasel/suites/13439999319/artifacts/736874266

已解决,非常感谢您

@MrLowSugar
Copy link

文件失效了怎么办?

@Eason0210
Copy link
Author

文件失效了怎么办?

直接用 Nightly build 就好了

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

No branches or pull requests

5 participants