Terminal: `defaultProfile` setting doesn't work

Created on 24 Apr 2020  ·  6Comments  ·  Source: microsoft/terminal

After update to version 0.11.1121.0 setting defaultProfile doesn't work and always open PowerShell terminal by default.

Environment

Windows 10 Home Build 19592

Steps to reproduce

Edit settings.json to use Ubuntu terminal
image
image

Actual behavior

After change defaultProfile to Ubuntu terminal or even cmd by default uses PowerShell.

image

Resolution-Duplicate

Most helpful comment

@mdtauk thanks a lot! I moved settings from globals section to root and it works as expected.

All 6 comments

same here

The Settings format has been changed, and there is no longer a specific "globals" section.

@mdtauk thanks a lot! I moved settings from globals section to root and it works as expected.

Oh, I read that in CHANGELOG... (´・ω・`)

https://github.com/microsoft/terminal/releases/tag/v0.11.1121.0

BREAKING CHANGE We've deleted a lot of legacy settings handling (#5190)
Please see our blog post and our most recent status update for more information.
If you had settings hanging out in the globals dictionary, you'll want to move them out.
Failure to do so will cause us to ignore your default profile, launch mode, etc., etc.

Thanks for the report! 0.11 introduced some breaking settings changes which is probably causing this issue for you. This is tracked by another issue on our repo - please refer to #5458 for more discussion.

/dup #5458

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

warpdesign picture warpdesign  ·  3Comments

DieselMeister picture DieselMeister  ·  3Comments

zadjii-msft picture zadjii-msft  ·  3Comments

ghvanderweg picture ghvanderweg  ·  3Comments

alabuzhev picture alabuzhev  ·  3Comments