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

terminal doesn't focus when I press ctrl-` to open it #128351

Closed
JasonWoof opened this issue Jul 9, 2021 · 3 comments
Closed

terminal doesn't focus when I press ctrl-` to open it #128351

JasonWoof opened this issue Jul 9, 2021 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@JasonWoof
Copy link

Issue Type: Bug

as of this latest version, the first time I open a terminal at the bottom by pressing ctrl- (control + backtick) the keyboard focus does not go into the terminal, so when I type it's still editing my document. Pressing ctrl- more times does nothing (it neither focuses the terminal nor hides it.) If I click into the terminal pane, then the key combo starts to work again: I can then ctrl-` to close the terminal, and then hit it again to re-open-and-focus the terminal. If I exit the terminal with ctrl-d then it goes back to the buggy behavior again as described above.

This bug is new as of the latest version update.

Further details: I looked in the keybinding settings UI, and the only keybind it had for ctrl- was to close the terminal (it had a when expression of "terminal.active"). I tried adding a keybinding for ctrl- to trigger "Terminal: Focus on Terminal View" when "!terminal.active" but that didn't change the behavior of anything I could see (I tried all the reproduce steps described above.)

VS Code version: Code 1.58.0 (2d23c42, 2021-07-08T06:53:55.113Z)
OS version: Linux x64 5.10.0-8-amd64
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (8 x 955)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 3, 2, 1
Memory (System) 7.43GB (0.15GB free)
Process Argv dev/allinadayswork --crash-reporter-id f6b33f70-d5ce-4dff-b30a-dafea807859e
Screen Reader no
VM 0%
DESKTOP_SESSION undefined
XDG_CURRENT_DESKTOP undefined
XDG_SESSION_DESKTOP undefined
XDG_SESSION_TYPE tty
Extensions (5)
Extension Author (truncated) Version
php-debug fel 1.16.1
vscode-docker ms- 1.14.0
remote-containers ms- 0.187.0
cpptools ms- 1.5.1
svelte-vscode sve 105.3.0
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspyt653:30270858
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
pythonvspyt639:30300192
pythontb:30283811
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30335481
vscorehovct:30309550
vscod805:30301674
pythonvspyt200:30331937
vscextlangct:30333562
binariesv615:30325510
vsccppwtct:30329789
vstea450:30335276
bridge0708:30335490

@IllusionMH
Copy link
Contributor

Probably duplicate of #128255

@iamCristYe
Copy link
Contributor

dup of #128255

@meganrogge
Copy link
Contributor

/duplicate #128255

@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

5 participants
@JasonWoof @IllusionMH @iamCristYe @meganrogge and others