[BUG] Keyboard Shortcuts get mangled when switching keyboard inputs

Đang mở
#885 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
macos
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
156
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rxhanson/RectanglePro-Community

Tất cả issue của rxhanson/RectanglePro-Community

Issue tương tự

Thêm issue về Desktop Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.