Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

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
输入方案:自用虎码

Dominant language
C++
Stars
8.1k
Forks
824
Avg merge
4d 13h
Merged PRs (30d)
6

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from rime/weasel

All issues in rime/weasel

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.