[BUG] 使用快捷键切换到中文输入法后,只能输入英文

Open
#112 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
swift
Domain
desktop

Research direction

Trace the shortcut-triggered input source switching path in this Swift macOS app (runjuu/InputSourcePro) and compare it with the working 'switch focus' troubleshooting feature mentioned in the report, which forces a focus change that makes Rime recover. Focus on how the app activates the new input source and whether it notifies the target window's input context (NSTextInputContext / active input session) after switching. Done when switching via hotkey produces Chinese input immediately, without the focus-switch animation workaround. Note: issue is 123 days old with no maintainer response.

Written by the indexing model from the issue text.

Description

如题
当我尝试用快捷键切换输入法到Rime后
发现打出来的字符仍然是英文
此时观察菜单栏,Rime输入法也出现了问题

Image

但是一旦切换到另外一个窗口再回来
可以中文输入且Rime恢复正常

Image

目前的解决方案是
开启故障排除中的切换焦点功能
但这会导致每次点击输入框都有一个小的过渡动画

macos 26.5.1
(Input Source Pro): 2.10.0 (auto_updates) from brew
可能相关的issue #85 #102

Dominant language
Swift
Stars
3.6k
Forks
144
Avg merge
4h 16m
Merged PRs (30d)
3

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 runjuu/InputSourcePro

All issues in runjuu/InputSourcePro

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.