Skip to content

Shortcut recorder rejects ⌘⇧ with a digit or symbol (e.g. ⌘⇧4) #3634

Closed

Description

@HlaKarki

Description

Recording ⌘⇧4 for "Screenshot an area" shows "That key can't be used in a shortcut. Try a letter, number or F-key." The same happens for ⌘⇧ with any digit or punctuation key, like ⌘⇧1 or ⌘⇧/. ⌘⇧ with a letter records fine.

The macOS screenshot shortcuts are turned off on this Mac, and the other screenshot apps here (Shottr, CleanShot X) don't bind ⌘⇧4.

On macOS, gpui reports a shifted digit or symbol as the character it types and clears Shift, so ⌘⇧4 reaches shortcuts_capture_key as cmd-$. hotkey_code_for_key has no entry for $, so the recorder shows unsupported_key. The Tauri app stored e.code and e.shiftKey, so ⌘⇧4 recorded there.

Reproduction

  1. Open Settings → Shortcuts → Screenshot an area → Record shortcut.
  2. Press ⌘⇧4.

Additional Context

  • Cap version: 0.6.2
  • Operating system, version: macOS 27.0
  • Device (optional): Apple Silicon
Cap shortcut recorder showing the unsupported key error after pressing ⌘⇧4

Activity

  1. linear commented on Nov 2, 2026

    @linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions