I can't delete default profiles from settings file #7054

Closed
opened 2026-01-31 00:53:51 +00:00 by claunia · 10 comments
Owner

Originally created by @safern on GitHub (Mar 21, 2020).

Environment

Windows build number:
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Windows Terminal version (if applicable):
Version: 0.10.781.0

Steps to reproduce

Open settings file while the terminal is open.
Remove the last settings profile.
Save the file while terminal is open.
The deleted profile will be added back.

Open settings file.
Remove the last settings profile.
Close terminal.
Save settings file.
Open terminal.
The deleted profile will be added back.

Expected behavior

The settings file doesn't bring back profiles I deleted.

Actual behavior

The profiles I remove they come back when I open the terminal or if I save the file while the terminal is open.

Originally created by @safern on GitHub (Mar 21, 2020). <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 ``` Windows Terminal version (if applicable): Version: 0.10.781.0 # Steps to reproduce Open settings file while the terminal is open. Remove the last settings profile. Save the file while terminal is open. The deleted profile will be added back. Open settings file. Remove the last settings profile. Close terminal. Save settings file. Open terminal. The deleted profile will be added back. # Expected behavior The settings file doesn't bring back profiles I deleted. # Actual behavior The profiles I remove they come back when I open the terminal or if I save the file while the terminal is open.
claunia added the Resolution-Duplicate label 2026-01-31 00:53:51 +00:00
Author
Owner

@oising commented on GitHub (Mar 21, 2020):

@safern Which file are you editing? defaults.json or profiles.json ?

@oising commented on GitHub (Mar 21, 2020): @safern Which file are you editing? `defaults.json` or `profiles.json` ?
Author
Owner

@jfowlie commented on GitHub (Mar 22, 2020):

I'm experiencing the same problem -- I am editing the profiles.json file and removing profiles that I don't use, but they come back immediately after closing and restarting the program. My other settings changes in that file appear to be sticking (changing the default profile, and re-ordering the profiles).

@jfowlie commented on GitHub (Mar 22, 2020): I'm experiencing the same problem -- I am editing the profiles.json file and removing profiles that I don't use, but they come back immediately after closing and restarting the program. My other settings changes in that file appear to be sticking (changing the default profile, and re-ordering the profiles).
Author
Owner

@safern commented on GitHub (Mar 24, 2020):

@safern Which file are you editing? defaults.json or profiles.json ?

I'm editing profiles.json. Same experience as @jfowlie above, if I change the order of profiles or add custom settings to any profile, they do stick, but when removing profiles I don't need they come back when saving if the terminal is open or when I open the terminal again.

@safern commented on GitHub (Mar 24, 2020): > @safern Which file are you editing? defaults.json or profiles.json ? I'm editing `profiles.json`. Same experience as @jfowlie above, if I change the order of profiles or add custom settings to any profile, they do stick, but when removing profiles I don't need they come back when saving if the terminal is open or when I open the terminal again.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 24, 2020):

/dup #3121 this might be an enlightening read 😄 sorry, we'll work to make sure our documentation is smarter here

@DHowett-MSFT commented on GitHub (Mar 24, 2020): /dup #3121 this might be an enlightening read :smile: sorry, we'll work to make sure our documentation is smarter here
Author
Owner

@ghost commented on GitHub (Mar 24, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 24, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 24, 2020):

I'm sorry, I meant /dup #3231

@DHowett-MSFT commented on GitHub (Mar 24, 2020): I'm sorry, I meant /dup #3231
Author
Owner

@ghost commented on GitHub (Mar 24, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 24, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@Vaskinn commented on GitHub (Apr 13, 2021):

@DHowett-MSFT It's problematic when bug reports are closed as duplicates of an already closed bug report that has been locked for comments. How are we supposed to provide feedback and suggestions then? I'll just do it here since it seems my best option.

I think this automatic profile generation would be a lot friendlier if the generated profile included a commentthat says something like "This profile generated by ..., to prevent it from being generated again add ... to disabledProfileSources"

@Vaskinn commented on GitHub (Apr 13, 2021): @DHowett-MSFT It's problematic when bug reports are closed as duplicates of an already closed bug report ~~that has been locked for comments~~. How are we supposed to provide feedback and suggestions then? I'll just do it here since it seems my best option. I think this automatic profile generation would be a lot friendlier if the generated profile included a commentthat says something like "This profile generated by ..., to prevent it from being generated again add ... to disabledProfileSources"
Author
Owner

@zadjii-msft commented on GitHub (Apr 13, 2021):

To be fair, this was resolved as a duplicate in March last year, and then the linked thread was locked in the following June, so that checks out to me.

I don't disagree that adding the comment might be helpful - though with the Settings UI getting shipped soontm, it's probably easiest to just slap something in the UI, rather than in the file itself 🤔

@zadjii-msft commented on GitHub (Apr 13, 2021): To be fair, this was resolved as a duplicate in March last year, and then the linked thread was locked in the following June, so that checks out to me. I don't disagree that adding the comment might be helpful - though with the Settings UI getting shipped soon<sup>tm</sup>, it's probably easiest to just slap something in the UI, rather than in the file itself 🤔
Author
Owner

@Vaskinn commented on GitHub (Apr 13, 2021):

My mistake, I didn't check the dates properly 👎

@Vaskinn commented on GitHub (Apr 13, 2021): My mistake, I didn't check the dates properly 👎
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7054