Json Fragment Actions do not load keys binding #21683

Open
opened 2026-01-31 07:51:55 +00:00 by claunia · 0 comments
Owner

Originally created by @g0t4 on GitHub (May 10, 2024).

Windows Terminal version

1.22.1281.0

Windows build number

10.0.22635.3570

Other Software

No response

Steps to reproduce

  1. Add a json fragment file with a new action + key binding, i.e.:
{
  "actions": [
    { "command": { "action": "splitPane", "type": "scratchpad" }, "name": "Split Scratchpad Pane", "keys": "ctrl+shift+5" }
  ]
}
  1. Restart terminal
  2. Open command palette and search for scratchpad and thew new entry shows up but the key binding is missing (on right side). Also, using the key binding doesn't work.
  3. Move action into primary settings.json file and restart terminal, and now the key binding loads and shows in the command palette.

Expected Behavior

The keybinding should load regardless where the action is defined.

Actual Behavior

when loaded from a fragment:
image

when loaded from primary settings.json:
image

Originally created by @g0t4 on GitHub (May 10, 2024). ### Windows Terminal version 1.22.1281.0 ### Windows build number 10.0.22635.3570 ### Other Software _No response_ ### Steps to reproduce 1. Add a json fragment file with a new action + key binding, i.e.: ```json { "actions": [ { "command": { "action": "splitPane", "type": "scratchpad" }, "name": "Split Scratchpad Pane", "keys": "ctrl+shift+5" } ] } ``` 2. Restart terminal 3. Open command palette and search for `scratchpad` and thew new entry shows up but the key binding is missing (on right side). Also, using the key binding doesn't work. 4. Move action into primary `settings.json` file and restart terminal, and now the key binding loads and shows in the command palette. ### Expected Behavior The keybinding should load regardless where the action is defined. ### Actual Behavior when loaded from a fragment: <img width="1142" alt="image" src="https://github.com/microsoft/terminal/assets/180189/561e1252-84cb-4462-9344-b9a1bbd7a9fb"> when loaded from primary settings.json: <img width="1138" alt="image" src="https://github.com/microsoft/terminal/assets/180189/7b34612e-7582-468e-b9e0-4290dae9fb02">
claunia added the Resolution-By-DesignNeeds-TriageIssue-Bug labels 2026-01-31 07:51:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21683