rime / rime/squirrel

[BUG] 候选框位置不准确 & 无法自动恢复正确的候选框位置

Open
#745 1 comment 0 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

rime_version: 1.8.5
squirrel: stable 3.2(homebrew cask 版本)
macOS:13.1

复现:

  1. chrome 安装 沙拉查词 这个扩展(这里为了复现方便,实际上其他应用也会频繁遇到类似的候选框不准确的问题)
  2. 按照下面的视频操作:先将输入法切换到鼠须管,点击沙拉查词 icon,唤起面板后随意输入内容,这时候发现鼠须管的候选框挡住了输入框和光标。但是同样的场景使用 macOS 自带的拼音输入法就会自动恢复候选框的位置。

具体请查看下面的视频,前面 15秒是 鼠须管,后面是 系统自带拼音输入法。
https://user-images.githubusercontent.com/9151309/230559235-d48629f9-2ddf-471e-897a-0f5241508adb.mp4

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

No source file or test is named. First reproduce the issue in Chrome with the 沙拉查词 extension and compare Squirrel with macOS Pinyin, then trace candidate-box positioning and recovery behavior. Done means the candidate box moves away from the input field and caret and restores the correct position in the described scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.