terminal icon indicating copy to clipboard operation
terminal copied to clipboard

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

Open ato2 opened this issue 1 year ago • 5 comments

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

ato2 avatar Jan 31 '24 15:01 ato2

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] avatar Jan 31 '24 15:01 github-actions[bot]

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 avatar Jan 31 '24 17:01 DHowett

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 avatar Jan 31 '24 17:01 ato2

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 avatar Jan 31 '24 22:01 DHowett

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.