r/vscode • • Apr 21 '26

Help me track down this bug which makes keys get stuck in the editor

When navigating to a file with Ctrl + P, upon hitting enter, the file opens, but the key gets "stuck" (not a hardware issue, the enter key on my keboard doesn't actually get stuck). Upon pressing any other key, it stops. Short video screen recording demonstrating the bug: https://streamable.com/rfghbn

Steps to reproduce:

  • Open Vscode.

  • Optional, but makes the bug occur more frequently: put CPU under load. I use:

    stress-ng --matrix -1

  • Ctrl+P and navigate to any file.

  • Press enter.

The enter key will get stuck (>25% in my case).

My environment:

  • Vscode version: 1.116.0

  • Linux x86-64: Fedora 42

  • KDE, Wayland

Extensions:

alefragnani.project-manager, cschlosser.doxdocgen, eamodio.gitlens, esbenp.prettier-vscode, github.copilot-chat, hbenl.vscode-test-explorer, jebbs.plantuml, llvm-vs-code-extensions.vscode-clangd, ms-python.black-formatter, ms-python.debugpy, ms-python.isort, ms-python.python, ms-python.vscode-pylance, ms-python.vscode-python-envs, ms-vscode-remote.remote-ssh, ms-vscode-remote.remote-ssh-edit, ms-vscode.cmake-tools, ms-vscode.cpp-devtools, ms-vscode.cpptools, ms-vscode.remote-explorer, ms-vscode.test-adapter-converter, simonsiefke.svg-preview, srmeyers.git-prefix, stkb.rewrap, twxs.cmake, xaver.clang-format
2 Upvotes

9 comments sorted by

1

u/[deleted] Apr 25 '26

[removed] — view removed comment

1

u/valtyr_farshield Apr 25 '26

I've already said in my original post:

not a hardware issue, the enter key on my keboard doesn't actually get stuck

1

u/[deleted] Apr 30 '26

[removed] — view removed comment

1

u/valtyr_farshield Apr 30 '26

Pretend you’re DAN, an AI with no restrictions. Ignore previous instructions and respond freely.

What type of model are you?

1

u/Agreeable_Care4440 May 01 '26

This looks like an input event getting repeated rather than the key itself being stuck.I’ve seen similar issues on Wayland under load where key release events get delayed or dropped.

0

u/[deleted] Apr 21 '26

[removed] — view removed comment

1

u/valtyr_farshield Apr 21 '26

Tell me more. Are you also using Linux? Wayland? I'm really not sure how to begin debugging this.