Solving the VS Code Right Click Issue on Linux

If you're a Linux user who relies on Visual Studio Code (VS Code) for your coding needs, you may have come across a strange bug where the menu that appears when you right-click is unresponsive or buggy. This can be a frustrating issue, but fortunately, there are a few workarounds that can help.

Workarounds

If you're experiencing this issue, the first workaround you can try is setting the zoom level to 0. To do this, go to the "File" menu, then select "Preferences" and "Settings." In the search box, type "zoom" and look for the "Window: Zoom Level" setting. Set this to 0 and see if that helps.

Another workaround is to change the title bar style from "native" to "custom." To do this, follow the same steps as above to access the settings menu. Then, search for the "Window: Title Bar Style" setting and set it to "custom." This may resolve the issue for you.

It's worth noting that these are just temporary solutions and that the issue has not yet been fixed by the VS Code development team. However, they are aware of the problem and are working on a solution. In the meantime, these workarounds should help you continue to use VS Code effectively on your Linux system.

GitHub Issue

Right Click acting abnormal · Issue #113175 · microsoft/vscode
Issue Type: Bug When I right click, the menu will flash on and then off almost immediately, like maybe 100 or 200 milliseconds. This is not all the time, but I am not able to narrow it down. It see...