Saving in the Settings UI breaks "iterateOn" #14166

Closed
opened 2026-01-31 04:02:48 +00:00 by claunia · 4 comments
Owner

Originally created by @ffes on GitHub (Jun 8, 2021).

Originally assigned to: @carlos-zamora on GitHub.

Windows Terminal version (or Windows build number)

1.9.1523.0

Other Software

No response

Steps to reproduce

I have written a blogpost on how to add the profiles to the command palette.

When I copy-paste the code mentioned on that page directly in settings.json everything works as expected.

When I open the Settings UI and press save the key iterateOn is deleted, even without changing anything.

For reference, this is a snippet:

{
	"iterateOn": "profiles",
	"icon": "${profile.icon}",
	"name": "${profile.name}: New tab",
	"command": {
		"action": "newTab",
		"profile": "${profile.name}"
	}
}

Expected Behavior

Saving from the Settings UI doesn't remove anything.

Actual Behavior

Saving from the UI removes the iterateOn key-values pair from settings.json.

Originally created by @ffes on GitHub (Jun 8, 2021). Originally assigned to: @carlos-zamora on GitHub. ### Windows Terminal version (or Windows build number) 1.9.1523.0 ### Other Software _No response_ ### Steps to reproduce I have [written a blogpost](https://www.fesevur.com/2021/02/17/windows-terminal-command-palette/) on how to add the profiles to the command palette. When I copy-paste the code mentioned on that page directly in `settings.json` everything works as expected. When I open the Settings UI and press save the key `iterateOn` is deleted, even without changing anything. For reference, this is a snippet: ```json { "iterateOn": "profiles", "icon": "${profile.icon}", "name": "${profile.name}: New tab", "command": { "action": "newTab", "profile": "${profile.name}" } } ``` ### Expected Behavior Saving from the Settings UI doesn't remove anything. ### Actual Behavior Saving from the UI removes the `iterateOn` key-values pair from `settings.json`.
Author
Owner

@DHowett commented on GitHub (Jun 8, 2021):

/cc @carlos-zamora this will stop us from shipping action serialization out of preview.

@DHowett commented on GitHub (Jun 8, 2021): /cc @carlos-zamora this will stop us from shipping action serialization out of preview.
Author
Owner

@DHowett commented on GitHub (Jun 8, 2021):

(user settings loss bugs are no joke.)

@DHowett commented on GitHub (Jun 8, 2021): (user settings loss bugs are no joke.)
Author
Owner

@ghost commented on GitHub (Jul 14, 2021):

:tada:This issue was addressed in #10373, which has now been successfully released as Windows Terminal v1.9.1942.0.🎉

Handy links:

@ghost commented on GitHub (Jul 14, 2021): :tada:This issue was addressed in #10373, which has now been successfully released as `Windows Terminal v1.9.1942.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.9.1942.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Author
Owner

@ghost commented on GitHub (Jul 14, 2021):

:tada:This issue was addressed in #10373, which has now been successfully released as Windows Terminal Preview v1.10.1933.0.🎉

Handy links:

@ghost commented on GitHub (Jul 14, 2021): :tada:This issue was addressed in #10373, which has now been successfully released as `Windows Terminal Preview v1.10.1933.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.10.1933.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14166