rime / rime/squirrel

中英切換不完全(使用 macOS 的 command + space)

Open
#428 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

(macOS 10.10.5)

我一向用macOS的 command + space 來切換中英,但10次切換裡,大約會有1次會切換不完全:系統輸入法本應從鼠鬚管變成英文,但它仍停留在鼠鬚管,可是輸入確實變成英文,只不過英文下方多顯示了一條底線。

如此一來,輸入完英文後,我若想用慣用的 command + space 切回中文,必須連按兩次這個組合鍵才行。

這個問題在任何程式裡都會出現。請問如何解決這個bug?

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 failure on macOS 10.10.5 with Command-Space in multiple applications, checking the input-source state and the underlined English text. Trace the macOS input-method switching path; done means switching reliably changes between Squirrel Chinese and English with no extra keypress.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.