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

Output window keeps hijacking focus from Terminal #4102

Closed
RussKie opened this issue Oct 9, 2020 · 5 comments · Fixed by #4333
Closed

Output window keeps hijacking focus from Terminal #4102

RussKie opened this issue Oct 9, 2020 · 5 comments · Fixed by #4333

Comments

@RussKie
Copy link
Member

RussKie commented Oct 9, 2020

Issue Type: Bug

Quite often when I switch between branches or start building a .NET project and have Terminal window focus Output window hijacks the focus and switches away from the Terminal window.

I have 100% reliable repro, but here's an animation of this:
vscode-output

Extension version: 1.23.2
VS Code version: Code 1.47.2 (17299e413d5590b14ab0340ea477cdd86ff13daf, 2020-07-15T18:22:06.216Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz (12 x 3402)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 23.94GB (9.92GB free)
Process Argv .
Screen Reader no
VM 0%
@rjgotten
Copy link

rjgotten commented Oct 19, 2020

This happens whenever the output window for C# or Omnisharp logs an exception, afaik.
It's been doing that for a long time.

(The recent 1.23.3 version puts it even more at the forefront, because it has some very annoying bugs where part of the analyzer hangs/crashes.)

@ponchautf
Copy link

I'm having that too.
is there a way to avoid losing focus from terminal (very annoying)

@RussKie
Copy link
Member Author

RussKie commented Mar 16, 2021

Still see it intermittently. Today it was particularly nasty.

VS Code version: Code 1.54.3 (2b9aebd5354a3629c3aba0a5f5df49f43d6689f8, 2021-03-15T10:55:45.459Z)
OS version: Windows_NT x64 10.0.19042

Extension Author (truncated) Version
quick-html-previewer dai 1.0.1
dotnet-test-explorer for 0.7.5
csharp ms- 1.23.9
cpptools ms- 1.2.2
powershell ms- 2021.2.2
prettier-plus svi 4.2.2

@JoeRobich
Copy link
Member

@RussKie You are still seeing this with the "csharp.showOmnisharpLogOnError" setting set to false?

@RussKie
Copy link
Member Author

RussKie commented Mar 16, 2021

Didn't know there was such a thing! Disabled it now, will ping back if it doesn't help.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants