-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersquick-pickQuick-pick widget issuesQuick-pick widget issuesverifiedVerification succeededVerification succeeded
Milestone
Description
THIS IS NOT A PYTHON EXTENSION ISSUE
This only happens starting from VSCode 1.51
. 1.50
works fine. Process picker in the Python extension is broken because of this: microsoft/vscode-python#14678
Version: 1.52.0-insider (user setup)
OS: Windows_NT x64 10.0.19042
Steps to Reproduce:
- Execute the following code to display quickpick
const refreshButton = {
iconPath: 'getIcon(REFRESH_BUTTON_ICON)'
};
const quickPick = vscode.window.createQuickPick();
quickPick.items = [{ label: 'some label' }];
quickPick.buttons = [refreshButton];
quickPick.show();
- No quickpick is displayed. Remove the
.buttons
assignment, or empty it.
const refreshButton = {
iconPath: 'getIcon(REFRESH_BUTTON_ICON)'
};
const quickPick = vscode.window.createQuickPick();
quickPick.items = [{ label: 'some label' }];
quickPick.buttons = [];
quickPick.show();
Quickpick is displayed. The original code which failed is here.
- Another workaround: Add another
quickPick.show()
line at the end.
const refreshButton = {
iconPath: 'getIcon(REFRESH_BUTTON_ICON)'
};
const quickPick = vscode.window.createQuickPick();
quickPick.items = [{ label: 'some label' }];
quickPick.buttons = [refreshButton];
quickPick.show();
quickPick.show();
Quickpick is displayed. But refresh icon isn't displayed.
Does this issue occur when all extensions are disabled?: Yes
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersquick-pickQuick-pick widget issuesQuick-pick widget issuesverifiedVerification succeededVerification succeeded