[PR #11401] Fix globalSummon.dropdownDuration not saving correctly #28561

Open
opened 2026-01-31 09:29:18 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/11401

State: closed
Merged: Yes


Summary of the Pull Request

In settings.json there's an actions array to configure keybindings.
The action globalSummon has an argument called dropdownDuration.
The settings editor deleted this argument from the settings because of a typo in ActionArgs.h.

PR Checklist

  • Closes -d CLI parameter is not in the command list (#11400)
  • CLA signed
  • Tests added/passed
  • Documentation updated
  • Schema updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan.

Detailed Description of the Pull Request / Additional comments

There was a JsonUtils::GetValueForKey instead of a JsonUtils::SetValueForKey.
This is what happens when such code is not autogenerated.

Validation Steps Performed

None

**Original Pull Request:** https://github.com/microsoft/terminal/pull/11401 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request In `settings.json` there's an `actions` array to configure keybindings. The action `globalSummon` has an argument called `dropdownDuration`. The settings editor deleted this argument from the settings because of a typo in `ActionArgs.h`. ## PR Checklist * [x] Closes #11400 * [x] CLA signed * [ ] Tests added/passed * [ ] Documentation updated * [ ] Schema updated * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. ## Detailed Description of the Pull Request / Additional comments There was a `JsonUtils::GetValueForKey` instead of a `JsonUtils::SetValueForKey`. This is what happens when such code is not autogenerated. ## Validation Steps Performed None
claunia added the pull-request label 2026-01-31 09:29:18 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28561