[BUG] Keyboard Shortcuts get mangled when switching keyboard inputs

オープン
#885 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
macos
領域
desktop

調査の方向性

Start by reproducing the shortcut changes while switching between Colemak and U.S. input sources, using the shortcut combinations listed in the issue. Trace how Rectangle stores and interprets those shortcuts across the input-source change; done means the configured shortcuts remain unchanged and continue invoking the same actions in both layouts.

索引モデルが issue の本文から書いたものです。

説明

As a user, I want my shortcuts to work all the time, and not change themselves based on what my current keyboard input is.

I am a Colemak user, and have my settings as follows:

  • Thirds (left/middle/right): ⌃⌥R/S/T
  • Two Thirds (first/center/last): ⌃⌥W/F/P
  • Halves (first/center/last): ⌃⌥X/C/V

For Reasons™, I have 2 keyboard input sources set up within System Settings -> Keyboards -> Text Input -> Text Replacements... I have both the standard US, as well as Colemak (my default). This is one of the first system changes that I make, so I can type the way that I want. I will then set up Rectangle, and/or pull over my saved config.

When I have these keyboard shortcuts set up, and then switch my input from Colemak to U.S., I would expect my shortcuts not to change. However, they do; Thirds will be P/D/G, and Two Thirds will be W/T/;.

If I isolate Left Third, the letter R on Colemak is where the S key on a standard keyboard is. The R key on the US keyboard is what Colemak users press for the letter P.

Hypothesis: Instead of using the entered key command (i.e. the letters R, S, T, W, F, and P), you are using something to do with the letter's key's keycode. Thus, when the input is switched, the shortcuts "remap" themselves.

主要言語
言語のデータがありません
スター
156
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rxhanson/RectanglePro-Community のほかの issue

rxhanson/RectanglePro-Community の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。