rime / rime/squirrel

Shift + 鼠标选择会触发中英文切换

Open
#681 1 comment 2 reactions 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

开启了shift切换中英文,但是如果在mac上使用Shift+鼠标进行文本选择,同样会触发中英文切换。

比如shift down和up之间如果有鼠标点击,是否不应该进行中英文切换

https://user-images.githubusercontent.com/10215098/206180252-36740074-fb4f-4b54-851c-400e8faec840.mp4

补充: Chrome, Xcode稳定出现,Safari,文本编辑没问题

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 issue on macOS in Chrome and Xcode with Shift+mouse text selection, then trace the handling of Shift key events and mouse clicks. Done means selection with a mouse click between Shift down and up no longer triggers Chinese/English switching, while the reported Safari and text-editor behavior remains unaffected.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.