-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command Palette isn't opened after closing a workspace #5887
Comments
@azatsarynnyy I've just tried on master and |
We've merged enhancements to the quick palette yesterday: d47d42e Could you try before this commit? If it is reproducible, then it is critical regression and has to be tackled today/tomorrow or reverted. |
@akosyakov I've built Theia from the commit 62fe752 and everything works well. |
@akosyakov it's weird that it works well on your side. I've also tried in Chrome incognito mode and in FF - the same error. |
yep, it's reproducible with closed workspace only. Thanks, @RomanNikitenko for checking this out! |
BTW after closing a workspace, one more error is reported
|
the title/description has been updated with the details |
Fixes #5887 - fixes issue where the command palette can not be opened when there is no workspace set. (caused by changes made in the 'cpp-build-configuration#getActiveConfig') - if no workspace is present, return `undefined` instead of attempting to get the activeConfig for the workspace root. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
FYI, I filed the issue #5889 related to another error reported on closing a workspace. |
Fixes #5887 - fixes issue where the command palette can not be opened when there is no workspace set. (caused by changes made in the 'cpp-build-configuration#getActiveConfig') - if no workspace is present, return `undefined` instead of attempting to get the activeConfig for the workspace root. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5887 - fixes issue where the command palette can not be opened when there is no workspace set. (caused by changes made in the 'cpp-build-configuration#getActiveConfig') - if no workspace is present, return `undefined` instead of attempting to get the activeConfig for the workspace root. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5887 - fixes issue where the command palette can not be opened when there is no workspace set. (caused by changes made in the 'cpp-build-configuration#getActiveConfig') - if no workspace is present, return `undefined` instead of attempting to get the activeConfig for the workspace root. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5887 - fixes issue where the command palette can not be opened when there is no workspace set. (caused by changes made in the 'cpp-build-configuration#getActiveConfig') - if no workspace is present, return `undefined` instead of attempting to get the activeConfig for the workspace root. - fix frozen object access by working on a deep-cloned copy. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Fixes #5887 - fixes issue where the command palette can not be opened when there is no workspace set. (caused by changes made in the 'cpp-build-configuration#getActiveConfig') - if no workspace is present, return `undefined` instead of attempting to get the activeConfig for the workspace root. - fix frozen object access by working on a deep-cloned copy. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
@akosyakov should we catch errors when executing contribution code? This issue seems to have happened because somehow the |
Description
Nothing happens when I'm trying to open Command Palette in Theia with no workspace is opened.
Reproduction Steps
Make sure no workspace is opened and press
F1
to open Command Palette.OS and Theia version:
Theia 0.9.0
Commit id 0953ba7
Diagnostics:
In browser's dev console:
The text was updated successfully, but these errors were encountered: