小狼毫+RIME+蝦米 在選字時鍵盤右邊數字鍵 BUG

Open
#1,982 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
desktop

Research direction

Reproduce with Weasel + RIME + 蝦米: open the candidate list and press the numeric keypad keys, noting that numpad 0 does nothing and numpad N selects candidate N-1, while the top-row digits are correct. Start from the Windows keyboard-event handling that turns a key press into a candidate index (the same place that accepts the top-row digits), and compare how keypad virtual key codes such as VK_NUMPAD0 are mapped versus '0'. Done means numpad 0..9 select the same candidates as the top row, with no regression for 注音.

Written by the indexing model from the issue text.

Description

Bug

小狼毫+RIME+蝦米 在選字時
如果使用鍵盤右邊的數字鍵
則會跳一個鍵
如:
要選的字是 "0. ", 鍵盤上方的數字鍵會選出正確的字
但如果使用鍵盤右邊的數字鍵, 按 "0. " 會沒有反應
反而要按 "1. " 才會選到 編號為 "0. " 的字
按 "2. " 則會 選 字單 上的 1號 字
如此類推

如果使用 小狼毫+注音, 則沒有這樣的問題

Dominant language
C++
Stars
8.4k
Forks
878
PR merge metrics
No merged PRs in 30d

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 rime/weasel

All issues in rime/weasel

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.