[Bug] 最近Safari在切换输入框时会自动切换输入法

未关闭
#98 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
swift

调研方向

Reproduce per the attached video: type Chinese in Safari's address bar, then click Google's search field and watch the IME revert to English despite the 'Restore previously used one' setting. Start from the settings code that implements that option, then trace the code path that decides which input source to restore when focus moves between fields (a focus/activation observer). Done when focus changes within Safari keep the previously used input source; consider whether macOS 26.4.1 changed the underlying notifications.

由索引模型根据 Issue 内容生成。

描述

您好,非常感谢您创作了这个app,太实用了。我最近有遇到一个应该是Bug的情况:在视频中,我在address bar用中文输入搜索词,加载出google后,但再次点击google的输入框时输入法自动切换到了英语。在设置中,我的默认选项是“Restore previously used one",而且在视频中我并没有离开Safari或者切换app,所以输入法理应仍然保持是中文。这好像是最近不知多久钱出现的现象,几个月前应该还没有遇到过。如果有需要提供其他信息,请告诉我,谢谢!

https://github.com/user-attachments/assets/d3b56e2a-f492-42dc-aa5a-2c94990f3aef

InputSourcePro version: 2.9.0 (605)
MacOS: 26.4.1

主要语言
Swift
星标
3.6k
派生
144
平均合并
4 小时 16 分钟
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

runjuu/InputSourcePro 的其他 Issue

查看 runjuu/InputSourcePro 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。