Skip to content

VS Code loading twice at workspace startup #21400

@l0rd

Description

@l0rd

Describe the bug

When starting a che-code based workspace the IDE gets loaded a first time and shows an error message (Error loading webview) and after a few seconds gets reloaded:

vs-code-loading-twice.mov

Che version

next (development version)

Steps to reproduce

Click here (access to Che dogfooding instance is required).

Expected behavior

VS Code is loaded once.

Runtime

OpenShift

Screenshots

No response

Installation method

OperatorHub

Release Notes Text

An extension was used to open the project folder at VS Code startup. The result was VS Code beeing loaded twice in the user browser. This is not necessary anymore as we use the VS Code startup parameter --default-folder that has been (re-)introduced recently.

Metadata

Metadata

Assignees

Labels

area/devworkspace-operatorarea/editor/vscodeIssues related to the Code OSS editor of Chekind/bugOutline of a bug - must adhere to the bug report template.new&noteworthyFor new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notesseverity/P1Has a major impact to usage or development of the system.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions