-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to delete profiles in Terminal #15542
Comments
I assume this problem persists even after you restart Windows Terminal right? Could you provide us with a settings.json file that reproduces the issue? |
Yes, It persists even after restarting terminal or even Windows 11 (only happening on Windows 11, on Windows 10 working fine) |
converted json to txt (for direct code of json check history of this comment |
Hi @mridun-gupta. This seems to be the wrong settings file. The profiles should be in the JSON. Additionally, the "SharePoint Online Management Shell" profile is in the JSON but isn't in the video you shared. Just to be sure, click on the "Open JSON file" button in the navigation view, then send us a copy of that one. Also, curious, do you have multiple versions of Windows Terminal installed? |
The JSON file is correct, SharePoint Online Management Shell is added just to test whether the forum solutions might help or not, and now I unable to delete it too, SpeedTest profiles shown in shared video are not mentioned in the JSON file too (which I do mentioned while sharing JSON file.) |
Yes, please. It will be very kind of you to help me out and try to fix the issue in future updates (if there is something messed up in the source code itself). |
Just so you know, that person is not affiliated with our team even though the language they used indicated that they might be. Thanks for the additional information. Can you share the file path to that settings file? In addition, do you have multiple versions of Windows Terminal installed? |
Typically, if a profile is present in the settings interface it must be present in the JSON file. There are likely multiple novel bugs here that we have never seen reports of before. :) |
Thank you for informing sir, I only use a single Windows Terminal installed on my Windows 11. |
Yeah, I had almost the same configuration earlier in Windows 10, I had no issues with it, but when I made it to Windows 11, Terminal started producing errors. |
Thank you, @microsoft for deleting the spammy messages. |
Thanks for all the info. Right now, we don't know what is happening and so the bug will require a bit more investigation. |
Just notify I have the same issue when trying to delete profiles. |
LocalState.zip |
I also have this issue - is there anything I can do to provide some more information about this? |
I don't know if this is already known, but just mentioning this here since I noticed it. I have Windows 10 Version 10.0.19045.3324, Terminal Version: 1.17.11461.0. I delete a profile and it does not get deleted. So, I checked in the settings JSON file and it still contained the profile(was not removed). Only after clicking the save button did I see the profile getting deleted, which subsequently deleted the profile in the JSON file. Hitting save triggers the deletion it seems. Attached is a video for reference, in which I deleted the profile named 'Profile7'. Desktop.2023.09.14.-.23.06.31.01.mp4 |
Thank you @codecruisedor for sharing this clip, but maybe the team have either make this as a disclaimer in settings or might make it less confusing for a regular user. |
I think this is related to UX bugs. It would be OK to keep the current behavior, but that in combination with the UX issues below, makes it very hard for a newbie or casual user to deal with profiles in a proper manner:
Btw, I also struggled with the problem described by the OP, and I was only able to "fix" it by following @codecruisedor's suggestion. |
@rsenna Do you suggest that I reopen this issue again (in the public interest)? |
I also stumbled upon this issue-thread while looking for a solution. I experienced it exactly like described above (clip).
Now I closed the settings tab and from the new tab dop-down menu the profile was still available. Also when opening the settings again, the profile appeared in all menus again. Solution: All the steps but additionally click on save in the profile settings window that is automatically selected after confirmation of deletion (which actually belongs to another profile than the one I deleted 😵) |
Looping back on this. Closing as by design since it's a matter of clicking the "save" button. |
Windows Terminal version
1.17.11461.0
Windows build number
No response
Other Software
No response
Steps to reproduce
1.) Make a custom terminal profile
3.) Try deleting it, it shows the option to delete
Expected Behavior
The profile should be deleted by the backend OS smoothly.
Actual Behavior
It won't get deleted.
Recording.2023-06-13.094631.mp4
The text was updated successfully, but these errors were encountered: