Skip to content

Linux native context menu captures all mouse input and becomes unresponsive #251419

Open
@vygral

Description

@vygral

Type: Bug
Description:
When you right-click on the application icon in the custom title bar, the context menu appears correctly. However, any subsequent mouse click makes the mouse unresponsive across the entire desktop until reset with Alt+Tab.
Note: If you avoid mouse clicks after opening the context menu and use only keyboard navigation, everything works fine and the mouse remains functional.

Steps to reproduce:

  1. Right-click on VS Code icon in title bar (context menu appears - works fine)
  2. Click anywhere on screen → mouse becomes unresponsive across entire desktop
  3. Alt+Tab once → mouse can switch windows but cannot interact within windows
  4. Alt+Tab again (even minutes later) → mouse functionality fully restored

Environment:
VS Code version: Code 1.101.0 (dfaf441, 2025-06-11T15:00:50.123Z)
OS: Debian Linux x64 6.1.0-37-amd64, X11
Desktop Environment: GNOME

Extensions: none

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions