rime / rime/weasel

关闭候选框后,每打一个字,方案图标都会显示出来

Open
#1,908 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
8k
Forks
804
PR merge metrics
No merged PRs in 30d

Description

我在方案中加入了以下设置:

# 关闭候选框
style:
  inline_preedit: true         # 行内显示预编辑区
  preedit_type: preview     # 预编辑区内容:composition(编码); preview(选中的候选);preview_all(全部候选)
  layout:                # 不显示候选框
    margin_x: -1
    margin_y: -1

加了之后这几个功能都符合预期,但带来一个新问题:每打一个字,方案图标都会显示出来,很干扰视线,看附件

https://github.com/user-attachments/assets/5d98a3c5-409a-4645-bab0-b6cb3b6b2401

操作系统:win11 25H2 (26200.8973)
小狼毫版本:0.17.4.0
输入方案:自用虎码

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Windows 11 with Weasel 0.17.4.0 using the shown inline_preedit and hidden-layout settings, then compare typing with the candidate window visible and hidden. Trace the code responsible for showing the scheme icon during input; done means the icon stays hidden while typing with this configuration, without breaking the inline preedit behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.