microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.41k stars 28.1k forks source link

inconsistent context menu on 'right' click #213795

Open alex-gilin opened 1 month ago

alex-gilin commented 1 month ago

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

Steps to Reproduce:

  1. make sure the 'Open Editors' view is enabled in the 'Explorer' panel
  2. create some file.
  3. "right click" on the file - a "context menu" will appear with a few items contributed.
  4. click a file to open the corresponding editor. close the editor.
  5. repeat step No. 3 - a “context menu” will appear with other menu items (see attached video)

https://github.com/microsoft/vscode/assets/33512452/f727ba74-8624-45bd-88e4-063e060e75e3

lramos15 commented 1 month ago

Hmm I cannot repro this. It seems to have to do with focus on right click.

Are you using a mouse or trackpad with your Mac?

alex-gilin commented 1 month ago

this is reproducible using the Mac built-in trackpad