rime / rime/squirrel

[Bug] Shift+鼠标点击或者Shift+Home/End时错误切换输入模式

Open
#1,031 5 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

Describe the bug:
正常状态下输入模式(中->西/西->中)可以用Shift键切换,没问题。但是当使用Shift + 点击选中区域或者shift+home/shift+end 选中光标位置到行首/行尾的内容时会错误的切换输入模式,shift + 字母组合似乎没有类似的问题。
Shift + 鼠标点击选中区域出错的应用似乎更多,在 vscode / sublime text / google chrome中都出现
Shift + Home/End 只在sublime text中好重现,而且Shift键和Home/End键不同时抬起也不会触发错误

Expected behavior:
按Shift+鼠标点击或者Shift+Home/End时不切换中西文输入模式

Actual behavior:
按Shift+鼠标点击或者Shift+Home/End时切换中西文输入模式

Environment

  • OS version: (macOS 14.4.1)
  • Squirrel version: (1.0.3)

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

Reproduce the issue on macOS 14.4.1 with Squirrel 1.0.3 in VS Code, Sublime Text, and Google Chrome using Shift-click and Shift+Home/End. Compare these cases with Shift plus letters; done means selection shortcuts no longer switch between Chinese and Western input modes.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.