rime / rime/squirrel

inline_preedit 有时会失效

Open
#234 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
6.4k
Forks
554
PR merge metrics
No merged PRs in 30d

Description

设置了 inline_preedit: true 但是有时候会失效变成多行模式(如下图),切换一下输入法就好了,一天会出现好几次。有没有知道原因的?

image

看日志也没有什么特别的,不知道怎么设置日志级别 Debug
我的 squirrel.custom.yaml

patch:
  show_notifications_when: appropriate

  style/color_scheme: system_blue
  preset_color_schemes:
    system_blue:
      name: "系统蓝/System Blue"
      author: "Scomper <scomper@gmail.com>"
      font_face: "PingFang SC,HanaMinA"
      back_color: 0xFFFFFF
      border_color: 0xE0B693
      candidate_text_color: 0x000000
      comment_text_color: 0x999999
      hilited_back_color: 0xEE6E00
      hilited_candidate_text_color: 0xFFFFFF
      hilited_candidate_label_color: 0xFFFFFF
      hilited_comment_text_color: 0x999999
      hilited_text_color: 0x999999
      text_color: 0x000000
      label_color: 0x999999
      label_font_face: "SFCompactText-Regular"

      horizontal: true
      inline_preedit: true
      candidate_format: "%c\u2005%@ \u2005"
      font_point: 16
      label_font_point: 14
      corner_radius: 5
      border_height: 0
      border_width: 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

Start by reproducing the intermittent behavior using the inline_preedit: true setting in squirrel.custom.yaml and record when it switches to multiline mode. Compare behavior before and after switching input methods, then inspect the relevant macOS input-method handling and add or run a regression test if the project provides one. Done means inline preedit remains enabled reliably or the failure is isolated with actionable logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.