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

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/11401
Author: @SnirBroshi
Created: 10/2/2021
Status: Merged
Merged: 10/4/2021
Merged by: @undefined

Base: mainHead: patch-3


📝 Commits (1)

  • 384527c Fix globalSummon.dropdownDuration not saving correctly

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalSettingsModel/ActionArgs.h (+1 -1)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/11401 **Author:** [@SnirBroshi](https://github.com/SnirBroshi) **Created:** 10/2/2021 **Status:** ✅ Merged **Merged:** 10/4/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `patch-3` --- ### 📝 Commits (1) - [`384527c`](https://github.com/microsoft/terminal/commit/384527cab64b2dd4af2c934719011dc9816318dd) Fix globalSummon.dropdownDuration not saving correctly ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsModel/ActionArgs.h` (+1 -1) </details> ### 📄 Description ## 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:29:17 +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#28556