microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.38k stars 29.32k forks source link

Terminal messed up when clicking area slightly above it #179944

Closed CherryDT closed 1 year ago

CherryDT commented 1 year ago

Type: Bug

This is an odd one.

So, I wanted to focus the terminal and clicked in the general vicinity but actually hit a space a bit too high - a small area between the tabs and the actual terminal. After that, the terminal changed font, lost colors, changed cursor and no longer accepted input, until the window was reloaded.

(Also, not sure if this is related, after reloading the window, another window's terminal history and working directory were loaded into the terminal?! But this happened only once.)

http://g.recordit.co/tn5JxsJDsr.gif

image

VS Code version: Code 1.77.1 (b7886d7461186a5eac768481578c1d7ca80e2d21, 2023-04-04T23:21:11.906Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: No Remote OS version: Linux x64 4.4.0-19041-Microsoft Remote OS version: Linux x64 4.4.0-19041-Microsoft Remote OS version: Linux x64 4.4.0-19041-Microsoft

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 PRO 4750U with Radeon Graphics (16 x 1697)| |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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|31.23GB (7.11GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 4.4.0-19041-Microsoft| |CPUs|AMD Ryzen 7 PRO 4750U with Radeon Graphics (16 x 1700)| |Memory (System)|31.23GB (7.13GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 4.4.0-19041-Microsoft| |CPUs|AMD Ryzen 7 PRO 4750U with Radeon Graphics (16 x 1700)| |Memory (System)|31.23GB (7.11GB free)| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 4.4.0-19041-Microsoft| |CPUs|AMD Ryzen 7 PRO 4750U with Radeon Graphics (16 x 1700)| |Memory (System)|31.23GB (7.12GB free)| |VM|0%|
Extensions (64) Extension|Author (truncated)|Version ---|---|--- auto-close-tag|for|0.5.14 vscode-graphql-syntax|Gra|1.1.0 dotenv|mik|1.0.1 vscode-aql|mon|1.7.1 jupyter-keymap|ms-|1.1.0 remote-containers|ms-|0.288.1 remote-ssh|ms-|0.100.0 remote-ssh-edit|ms-|0.84.0 remote-wsl|ms-|0.77.0 remote-explorer|ms-|0.4.0 ejs-language-support|Qas|0.0.1 vscode-todo-highlight|way|1.0.5 vscode-devdocs|akf|1.0.3 svelte-intellisense|ard|0.7.1 vscode-intelephense-client|bme|1.9.5 npm-intellisense|chr|1.4.4 js-codeformer|cms|2.6.1 compulim-vscode-closetag|Com|1.2.0 vscode-eslint|dba|2.4.0 devdocs|dei|0.2.0 vscode-new-file|dku|4.0.2 dbux-code|Dom|0.7.9 xml|Dot|2.5.1 EditorConfig|Edi|0.16.4 copilot|Git|1.82.15 vscode-graphql|Gra|0.8.7 vscode-graphql-execution|Gra|0.1.8 vscode-graphql-syntax|Gra|1.1.0 vscode-git-blamer|how|1.1.2 join-comment-aware|joh|0.0.3 solidity|Jua|0.0.151 edge|luo|0.3.2 rainbow-csv|mec|3.6.0 csharp|ms-|1.25.4 vscode-dotnet-runtime|ms-|1.6.0 isort|ms-|2022.8.0 python|ms-|2023.6.0 vscode-pylance|ms-|2023.4.20 jupyter|ms-|2023.3.1201040234 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 cpptools|ms-|1.14.5 hexeditor|ms-|1.9.11 hexeditor|not|1.8.2 vscode-print|pdc|0.11.1 svelte-extractor|pro|0.0.3 vscode-data-preview|Ran|2.3.0 vscode-data-table|Ran|1.12.0 vscode-yaml|red|1.12.2 ActiveFileInStatusBar|Ros|1.0.3 vscode-paste-and-indent|Rub|0.0.8 bracket-jumper|sas|1.1.8 trailing-spaces|sha|0.4.1 vscode-standard|sta|2.1.3 ignore-gitignore|stu|1.0.1 svelte-vscode|sve|107.3.0 es6-string-html|Tob|2.12.1 sort-lines|Tyr|1.9.1 use-strict-everywhere|vee|0.1.3 bracket-padder|via|0.3.0 change-case|wma|1.0.0 html-css-class-completion|Zig|1.20.0
vscodenpa commented 1 year ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.77.3. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

CherryDT commented 1 year ago

@VSCodeTriageBot You are right ;)

I did an update just before this bug report, but it seems there was another update waiting afterwards. It works now.