Skip to content

Correctly resolve the icon asap when defaultProfile is null#151643

Merged
Tyriar merged 1 commit intomainfrom
tyriar/151639
Jun 9, 2022
Merged

Correctly resolve the icon asap when defaultProfile is null#151643
Tyriar merged 1 commit intomainfrom
tyriar/151639

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Jun 9, 2022

When the defaultProfile is null we don't actually know what the default
profile is until the process has been created, this is because it needs a
round trip to the pty host. This change fixes the _icon prop updating and
icon changed event firing.

Fixes #151639

When the defaultProfile is null we don't actually know what the default
profile is until the process has been created, this is because it needs a
round trip to the pty host. This change fixes the _icon prop updating and
icon changed event firing.

Fixes #151639
@Tyriar Tyriar added this to the June 2022 milestone Jun 9, 2022
@Tyriar Tyriar requested a review from meganrogge June 9, 2022 20:19
@Tyriar Tyriar self-assigned this Jun 9, 2022
@Tyriar Tyriar enabled auto-merge June 9, 2022 20:27
@Tyriar Tyriar merged commit 732a16b into main Jun 9, 2022
@Tyriar Tyriar deleted the tyriar/151639 branch June 9, 2022 20:30
@bpasero
Copy link
Member

bpasero commented Jun 10, 2022

@Tyriar related?

  1) VSCode Smoke Tests (Web)
       Terminal
         Terminal Tabs
           should update icon of the tab in the tabs list:
     Error: Timeout: get element '.tabs-list .monaco-list-row[data-index="1"] .terminal-tabs-entry .codicon-symbol-method' after 20 seconds.
      at Code.poll (D:\a\_work\1\s\test\automation\src\code.ts:254:11)
      at Code.waitForElement (D:\a\_work\1\s\test\automation\src\code.ts:207:10)
      at Terminal.assertTabExpected (D:\a\_work\1\s\test\automation\src\terminal.ts:197:5)
      at Terminal.assertTerminalGroups (D:\a\_work\1\s\test\automation\src\terminal.ts:151:6)
      at Context.<anonymous> (src\areas\terminal\terminal-tabs.test.ts:60:4)

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=173817&view=logs&j=672276a2-8d3a-5fab-615d-090c51352f92&t=9302e8c4-de85-5274-34fa-935ce79d4e8d&l=142

@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default profile isn't picking up correct icon

3 participants