Upgrade from 1.19.10292.0 to 1.20.10293.0 created new settings.json. Old settings lost !? #21163

Closed
opened 2026-01-31 07:35:01 +00:00 by claunia · 5 comments
Owner

Originally created by @ato2 on GitHub (Jan 31, 2024).

Windows Terminal version

1.20.10293.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

winget install Microsoft.WindowsTerminal.Preview

Expected Behavior

Config backup or preservation

Actual Behavior

Old config missing in $HOME\AppData\Local\Packages\Microsoft.WindowsTerminalPreview*\LocalState\settings.json

Originally created by @ato2 on GitHub (Jan 31, 2024). ### Windows Terminal version 1.20.10293.0 ### Windows build number 10.0.19045.0 ### Other Software _No response_ ### Steps to reproduce winget install Microsoft.WindowsTerminal.Preview ### Expected Behavior Config backup or preservation ### Actual Behavior Old config missing in $HOME\AppData\Local\Packages\Microsoft.WindowsTerminalPreview*\LocalState\settings.json
Author
Owner

@github-actions[bot] commented on GitHub (Jan 31, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Jan 31, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Settings from settings.json lost when updated to Version: 1.7.1033.0 (#9861)](https://github.com/microsoft/terminal/issues/9861), similarity score: 0.80 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@DHowett commented on GitHub (Jan 31, 2024):

The preview version of Terminal stores settings in a different place than the stable version, because they may be incompatible and refer to preview-only features. 1.19 is the current Stable version. 1.20 is the current Preview version.

You can copy the settings from the Stable version yourself. They are stored at %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState.

@DHowett commented on GitHub (Jan 31, 2024): The preview version of Terminal stores settings in a different place than the stable version, because they may be incompatible and refer to preview-only features. 1.19 is the current Stable version. 1.20 is the current Preview version. You can copy the settings from the Stable version yourself. They are stored at `%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState`.
Author
Owner

@ato2 commented on GitHub (Jan 31, 2024):

My 19 version was prewiev not stable. Before upgrade:
winget list Microsoft.WindowsTerminal
Name Id Version Available Source
-----------------------------------------------------------------------------------------------------
Podgląd Terminalu Windows Microsoft.WindowsTerminal.Preview 1.19.3172.0 1.20.10293.0 winget

IMHO Installers should always preserve user modified config files (or backup them) as it is typical on Linux package managers.

@ato2 commented on GitHub (Jan 31, 2024): My 19 version was prewiev not stable. Before upgrade: winget list Microsoft.WindowsTerminal Name Id Version Available Source ----------------------------------------------------------------------------------------------------- Podgląd Terminalu Windows Microsoft.WindowsTerminal.Preview 1.19.3172.0 1.20.10293.0 winget IMHO Installers should always preserve user modified config files (or backup them) as it is typical on Linux package managers.
Author
Owner

@DHowett commented on GitHub (Jan 31, 2024):

That's definitely not expected. A build-to-build upgrade should always preserve your settings.

I was confused because your bug title included the 1.19 preview version number, rather than the 1.19 stable version number.

@DHowett commented on GitHub (Jan 31, 2024): That's definitely not expected. A build-to-build upgrade should always preserve your settings. I was confused because your bug title included the 1.19 **preview** version number, rather than the 1.19 **stable** version number.
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Feb 4, 2024):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@microsoft-github-policy-service[bot] commented on GitHub (Feb 4, 2024): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21163