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

Opening another application causes VSCode to capture the "Return/Enter" multiple times #211955

Closed
olafurw opened this issue May 3, 2024 · 2 comments
Assignees

Comments

@olafurw
Copy link

olafurw commented May 3, 2024

Type: Bug

So this is a weird one. I'm on Ubuntu 24.04 and I noticed that when I pressed the "super" key and type Firefox and hit Enter to open Firefox, that enter command gets "stuck" and VSCode will press Enter multiple times.

This does not happen with other applications. So if I open Text Editor and then open Firefox, text editor will not add a bunch of Enter commands into the window.

Also this only happens with "heavy" applications. So if I have VSCode open and open Text Editor, that "Enter" command to open Text Editor will not stick.

This is very annoying because if you have VSCode open in some code file and then open Firefox, then a bunch of newlines will be added to the file.

Repro is basically.
Ubuntu 24.04.
Open VSCode and have it focused.
Press the super/win button. Type "Firefox", press Enter.
See that a lot of the enter commands are being captured by VSCode.

Here is a video of me reproducing it: https://www.youtube.com/watch?v=-etKd8sNq18

VS Code version: Code 1.89.0 (b58957e, 2024-05-01T02:08:25.066Z)
OS version: Linux x64 6.8.0-31-generic
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-1260P (16 x 1592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 3, 3, 3
Memory (System) 30.96GB (18.88GB free)
Process Argv --crash-reporter-id cb2c1553-3317-4376-b936-680725b39c7b
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland
Extensions (7)
Extension Author (truncated) Version
vscode-eslint dba 2.4.4
EditorConfig Edi 0.16.4
prettier-vscode esb 10.4.0
copilot Git 1.186.0
copilot-chat Git 0.15.0
vscode-typescript-next ms- 5.5.20240502
svelte-vscode sve 108.4.1
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
g316j359:31013175
pythoncenvpt:31022790
dwnewjupytercf:31035177

@liheyuan
Copy link

may be a wayland problem see #212430

@olafurw
Copy link
Author

olafurw commented Aug 23, 2024

Does not happen anymore after normal package updates and kernel/os updates.

@olafurw olafurw closed this as completed Aug 23, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants