Saving settings does not work for fonts. #22377

Closed
opened 2026-01-31 08:11:25 +00:00 by claunia · 2 comments
Owner

Originally created by @0wwafa on GitHub (Oct 10, 2024).

This is a report of 2 different bugs:

Version 1.21.2701.0

  1. go to to settings >> default >> appearance >> Font face

  2. if I enable "Show all fonts" and then click the name of the font face, terminal CRASHES.

  3. If I select any font and the click SAVE, the font rever to the previous one or to the default.

--- work around ---
I manually edited the settings.json file and it works.

    "profiles": 
    {
        "defaults": 
        {
            "font": 
            {
                "face": "Consolas"
            }
        },
        "list": 
        [
            {
                "commandline": "%SystemRoot%\\System32\\cmd.exe",
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "Command Prompt"
            },
            {
                "font": 
                {
                    "face": "DejaVu Sans Mono",
                    "size": 16
                },
                "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
                "hidden": false,
                "name": "Ubuntu",
                "source": "Windows.Terminal.Wsl"
            },

So the problem is somewhere else!

Originally created by @0wwafa on GitHub (Oct 10, 2024). This is a report of 2 different bugs: Version 1.21.2701.0 1) go to to settings >> default >> appearance >> Font face 2) if I enable "Show all fonts" and then click the name of the font face, terminal CRASHES. 3) If I select any font and the click SAVE, the font rever to the previous one or to the default. --- work around --- I manually edited the settings.json file and it works. ``` "profiles": { "defaults": { "font": { "face": "Consolas" } }, "list": [ { "commandline": "%SystemRoot%\\System32\\cmd.exe", "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "hidden": false, "name": "Command Prompt" }, { "font": { "face": "DejaVu Sans Mono", "size": 16 }, "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "hidden": false, "name": "Ubuntu", "source": "Windows.Terminal.Wsl" }, ``` So the problem is somewhere else!
claunia added the Resolution-Duplicate label 2026-01-31 08:11:25 +00:00
Author
Owner

@DHowett commented on GitHub (Oct 10, 2024):

Thanks! These both have the same root cause, which we've fixed with /dup #17987

@DHowett commented on GitHub (Oct 10, 2024): Thanks! These both have the same root cause, which we've fixed with /dup #17987
Author
Owner

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

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!

@microsoft-github-policy-service[bot] commented on GitHub (Oct 10, 2024): 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! <!-- 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#22377