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

Debian 12 下 fcitx5-rime 设置 menu/page_size 只在输入法选择界面生效 #1326

Closed
wuyuyang0703 opened this issue Jun 22, 2023 · 7 comments

Comments

@wuyuyang0703
Copy link

系统:Debian 12

桌面环境:KDE,使用了 KDE 自带的输入法面板

输入法前端:fcitx5-rime

包版本:5.0.15-3

问题:在 ~/.local/share/fcitx5/rime/default.custom.yaml 中设置

patch:
  menu/page_size: 9

部署后,按下 Ctrl + ` 后一页显示了 9 个选项,但是在输入时候选词个数仍为 5 个。修改了 /usr/share/rime-data/default.yaml 之后问题依然没有解决。

@ihchiz
Copy link

ihchiz commented Jul 5, 2023

OS:Debian 12
DE:GNOME 43

ibus-rime: 1.5.0-3

same problem here.

after apply menu/page_size: 9, there is 9 items in ctrl+` menu, and ~/.config/ibus/rime/build/default.yaml shows page_size: 9, but still 5 candidate words when input.

@ihchiz
Copy link

ihchiz commented Jul 6, 2023

log.txt

some log from "dbus-monitor --address `ibus address`" 👆

it seems like when opening ctrl+` menu, there is 9 candidate and 9 numbers.

but when input, there is 6 candidate(5 words and 1 empty "") and 9 numbers.

图片

图片

seems setting menu/page_size not actual active in normal input.

@ihchiz
Copy link

ihchiz commented Jul 6, 2023

@wuyuyang0703 试试直接在 default.yaml 写入 page_size: 9 试试?似乎只影响写在 default.custom.yaml 的情形。
如果有测试结果,请更新信息。

以上信息不准确,经测试,似乎只影响预置的输入方案,我这边测试 luna_pinyin 和 luna_pin_simp 受影响,而另外自行安装的输入方案则不受影响,正常显示9个候选词。

update: 经测试,terra_pinyin 和 bopomofo 输入方案均能显示出所设置的9个候选词,该问题似乎只影响朙月拼音方案。

检查一下 build 文件夹是否有 luna_pinyin.schema.yaml?我这边是不存在。

@ihchiz
Copy link

ihchiz commented Jul 6, 2023

E20230706 21:56:18.089257  6982 config_compiler.cc:428] resource could not be loaded: pinyin
E20230706 21:56:18.089272  6982 config_compiler.cc:536] unresolved dependency: Patch(pinyin:/abbreviation)
E20230706 21:56:18.089283  6982 config_compiler.cc:536] unresolved dependency: PendingChild(luna_pinyin.schema:/speller/algebra)
E20230706 21:56:18.089293  6982 config_compiler.cc:536] unresolved dependency: PendingChild(luna_pinyin.schema:/speller)
E20230706 21:56:18.089301  6982 config_component.cc:254] error building config: luna_pinyin.schema
E20230706 21:56:18.322835  6982 config_compiler.cc:428] resource could not be loaded: pinyin
E20230706 21:56:18.322846  6982 config_compiler.cc:536] unresolved dependency: Patch(pinyin:/abbreviation)
E20230706 21:56:18.322855  6982 config_compiler.cc:536] unresolved dependency: PendingChild(luna_pinyin.schema:/speller/algebra)
E20230706 21:56:18.322865  6982 config_compiler.cc:536] unresolved dependency: PendingChild(luna_pinyin.schema:/speller)
E20230706 21:56:18.322872  6982 config_compiler.cc:536] unresolved dependency: Include(luna_pinyin.schema:/)
E20230706 21:56:18.322881  6982 config_component.cc:254] error building config: luna_pinyin_simp.schema

日志中的构建错误,可能是该错误导致没有生成 luna_pinyin 的 schema,而朙月拼音默认 page_size 5

@ihchiz
Copy link

ihchiz commented Jul 6, 2023

找到问题了,debian 下的 luna_pinyin 打包时候漏了 pinyin.yaml 文件导致报错,等修复吧。

@hosiet
Copy link

hosiet commented Jul 6, 2023

@hosiet
Copy link

hosiet commented Jul 7, 2023

Debian 12.1 将修复此问题,预期 2023 年 7 月 22 日发布。

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

4 participants