Skip to content

If settings.json in portable settings folder (or folder itself) is not writeable WT will crash if you try to save settings #18913

@PGomersall

Description

@PGomersall

Windows Terminal version

1.22.250314001 Portable (probably other versions as well)

Windows build number

10.0.26100.4061

Other Software

N\A

Steps to reproduce

Open settings UI, make a change click save > WT crashes

Expected Behavior

An error should be raised if settings.json is not writeable, but WT should not crash.

Actual Behavior

WT Crashes. If folder is writeable but not the settings.json file a settings.json.tmp is created

Metadata

Metadata

Assignees

Labels

Area-SettingsIssues related to settings and customizability, for console or terminalIssue-BugIt either shouldn't be doing this or needs an investigation.Priority-1A description (P1)Product-TerminalThe new Windows Terminal.Severity-CrashCrashes are real bad news.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions