Keyboard shortcuts change when switching keyboard layouts

Open
#1,464 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the shortcut behavior in Rectangle on macOS 14.6.1 with US and Colemak layouts, using the shortcut bound to first third as the entry point. Done means a shortcut saved as Ctrl-Command-Shift-Option-J remains J after switching layouts, rather than changing to N.

Written by the indexing model from the issue text.

Description

bug
  • This is a new bug that hasn't been documented in a closed issue or in the Readme.

macOS version: 14.6.1 (23G93)
Rectangle version: Version 0.83 (89)
Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

Not sure if this is a MacOS issue or Rectangle specific.

Define some shortcuts in one keyboard layout, then switch layouts with MacOS.

The shortcuts seem to bind to the key position instead of the letters.

For example with US layout I have ctrl-command-shift-option-j bound to first third.
US Qwerty shortcuts

Switching to colemak layout the shortcut becomes ctrl-command-shift-option-n.
Colemak shortcuts

The j becomes n in the shortcut but it should remain as j. The N key in the colemak layout is in the same position as the J key in qwerty, but I don't think about the position when remembering shortcuts. I remember to press all modifiers + J.

Dominant language
Swift
Stars
29.9k
Forks
997
Avg merge
4d 16h
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

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 rxhanson/Rectangle

All issues in rxhanson/Rectangle

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.