Terminal: defaultProfile setting is no longer respected

Created on 23 Apr 2020  路  6Comments  路  Source: microsoft/terminal

It seems like after upgrading to 0.11.1121.0 defaultProfile setting is no longer respected.

Environment

Windows build number: Microsoft Windows NT 10.0.19041.0
Windows Terminal version (if applicable): 0.11.1121.0

Any other software?
plenty but probably irrelevant ;)

Steps to reproduce

  1. Have a multiple profiles configured where powershell.exe is not default.
  2. Start Windows terminal
  3. You start always with powershell.exe one

alternatively

  1. ctrl +alt + - causes always to load powershell.exe one regardless which one currently is active

Expected behavior

defaultProfile gets loaded on startup

Actual behavior

defaultProfile is ignored

I attach settings file for reference:
settings.zip

PS:
If you need more details simply let me know.

Needs-Tag-Fix Needs-Triage

Most helpful comment

this solves my problem... but damn... visibility of this breaking change is close to none if you are not tracking terminal changes eagerly...

Anyway thank you for resolving my issue! :)

All 6 comments

You need to move all your settings from global key (in your settings.json) outside of global key (to the root level).

Duplicate of #5458.

this solves my problem... but damn... visibility of this breaking change is close to none if you are not tracking terminal changes eagerly...

Anyway thank you for resolving my issue! :)

@zawor agree, I also missed it myself, despite "reading" (or scanning, I should say) the changelog (https://github.com/microsoft/terminal/issues/5458#issuecomment-618243148) :smile:

I was trying to update my settings to set the theme, and I was trying to put the entry in the defaults section, wondering why it wasn't working - until I moved it to root.

It feels quite odd using the JSON root for elements, but I guess once the Settings UI is added, it will become redundant to think too much about it. :)

@mlewand mine was even worse... i run on windows store version, so today out of sudden i got caught with my pants down by this regression :P

personally i would love to have (opt in) possibility to get smacked in the face with release notes dialog/tab/view/whatever every time i get auto updated, lets say just like in VS Code

@zawor Sounds like a good feature request 馃檪 what I'm doing is I subscribed to release-only on GH so that I get notification about the release, check the changelog and then upgrade it using chocolatey (decent package manager, so the upgrade is as simple as typing cup microsoft-windows-terminal /y once I'm sure I want to upgrade).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghvanderweg picture ghvanderweg  路  3Comments

carlos-zamora picture carlos-zamora  路  3Comments

TayYuanGeng picture TayYuanGeng  路  3Comments

wkbrd picture wkbrd  路  3Comments

zadjii-msft picture zadjii-msft  路  3Comments