Skip to content
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

Linux: context menu runs action under mouse when opened - New in 1.92.0 #224743

Open
powellnorma opened this issue Aug 4, 2024 · 8 comments
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug confirmation-pending linux Issues with VS Code on Linux system-context-menu Issue related to context menu drawn by the OS

Comments

@powellnorma
Copy link

powellnorma commented Aug 4, 2024

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

  • VS Code Version: 1.92.0
  • OS Version: Linux

So I am aware of #113175 - However I only have this problem when using 1.92.0 - Downgrading to 1.91.1 fixes it. I noticed the context-menu now "fades in", whereas before it just appeared (with no animations). Were there some changes in 1.92.0 that could cause this?

Steps to Reproduce:

  1. Use 1.92.0
  2. In file browser, right-click somewhere - It opens the context-menu in such a way, that on release of the right-click it immediately executes the entry that's below the cursor. Optimally, the context-menu would appear with an offset such that this does not happen
@SiebelsTim
Copy link

I have the same behaviour. Furthermore, right-clicking shortly shows the menu and immediately closes the menu. Probably because releasing the right-click tries to select something. However, I cannot reproduce this on every click, few times it works. I think it depends on where you click.

Peek 2024-08-05 09-44

@dancysoft
Copy link

Same. I've been using VS Code on Linux without problems for years but as of 1.92.0 it exhibits the very dangerous/disruptive behavior of executing whatever command happens to be under the mouse when I right-click and release.

@spech66
Copy link

spech66 commented Aug 7, 2024

I have the same Problem with the latest update. Sometimes the menu stays open but most of the time the item directly on the mouse position is selected immediately (in the code view as well selecting things like rename oder find all references, ...). Downgrade to 1.91.1 fixes the problem.

Kernel 5.15.0-113-generic
Ubuntu 20.04
Using I3 as Desktop Environment.

@0x07dev
Copy link

0x07dev commented Aug 9, 2024

Same on the 1.92.0 and 1.92.1
1.91.1 has no problems.
Kernel 6.1.0, Debian 12.1, KDE Plasma 5.27.5

@MerlijnElderhuis
Copy link

Same here. 1.91.1 has no problem.

@SiebelsTim
Copy link

@sbatten can we add the "new release" label again?

@mwilliamson
Copy link

I think this is related to #224515, which provides a workaround of changing the setting "Window: Title Bar Style" to "custom" (although that does change the title bar).

@sbatten sbatten assigned deepak1556 and unassigned sbatten Oct 12, 2024
@deefdragon
Copy link

deefdragon commented Oct 14, 2024

Its related, but I think also somewhat different. I encounterd this issue previously, but fixed it (don't remember how, IE if I followed the fix mentioned in the other thread) several years ago. I recently upgraded my vscode, and have started encountering it once again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug confirmation-pending linux Issues with VS Code on Linux system-context-menu Issue related to context menu drawn by the OS
Projects
None yet
Development

No branches or pull requests

10 participants