Skip to content

A keyboard shortcut can be set to no key - #979

Open
skullvalanche wants to merge 2 commits into
TinyComms:mainfrom
skullvalanche:skull/shortcut-no-key
Open

skullvalanche wants to merge 2 commits into
TinyComms:mainfrom
skullvalanche:skull/shortcut-no-key

Conversation

@skullvalanche

Copy link
Copy Markdown

What changed and why

In Settings > Shortcuts, Delete on a recording row, or a None button beside it, leaves a command with no key. It shows None, frees its old key for other commands, and is saved as none so it survives a restart. Backspace still restores the default.

Type

  • feature
  • fix
  • perf
  • refactor
  • docs
  • chore

Platforms

  • windows
  • macos
  • linux
  • android
  • ios

Proof

Scenario: e2e/scenarios/shortcut-no-key
Lab run: (the lab posts this under e2e-proof)

Visible in Settings > Shortcuts; demo with --shot out.png after opening that page and clicking a row. Touches crates/tinyclient/src/host.rs (the caption) and the README sentence on Backspace.

Compatibility

No protocol change. keybindings file gains the value none; an older build skips the line it cannot bind, so the default key returns there.

Risk and rollback

A bug would leave a command unreachable by key; Reset or Backspace on the row brings the default back. Rollback is a revert.

Release note

A keyboard shortcut can be set to no key in Settings > Shortcuts.

Settings > Shortcuts: Delete on a recording row, or the None button,
leaves the command with no key. Backspace still restores the default.
An unset shortcut shows None, frees its old key for other commands,
and is saved as 'none' so it survives a restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant