microsoft / microsoft/vscode

Second click after selecting from command center interpreted as double click on underlying UI

Open
#336,045 2 comments 0 reactions 1 assignee Claimed by @justschen View on GitHub
triage-needed
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: 1.132
- OS Version: EndeavourOS current

Steps to Reproduce:

1. Open a fresh window with no files/tabs open
2. Click the command center (or open the command palette with a keyboard shortcut)
3. Double-click "Search for Text" (or any other entry that does not produce a second long list of options)
4. Observe that in addition to the clicked menu item performing the correct behavior, a double-click event is sent to the UI behind it. When that UI is an empty main panel, or the empty space on the tab bar of a populated main panel, the result is creating a new untitled file.

The underlying UI should not receive a double-click event when it was only clicked once.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.