microsoft / vscode

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

i hid these icons and now i can not find a way to get them back #205402

Closed sanket-bhalerao closed 8 months ago

sanket-bhalerao commented 8 months ago

Type: Bug

I was trying something and hid these icons image

and now i can not seem to find a way to get them back

VS Code version: Code - Insiders 1.87.0-insider (00124e9e5830e3efc897db71c781899f8a676295, 2024-02-16T16:33:57.085Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.82GB (3.86GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (20) Extension|Author (truncated)|Version ---|---|--- ng-template|Ang|17.2.2 vscode-markdownlint|Dav|0.54.0 vscode-eslint|dba|2.4.4 githistory|don|0.6.20 gitlens|eam|14.8.2 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.1.0 output-colorizer|IBM|0.1.2 git-graph|mhu|1.30.0 vscode-scss|mrm|0.10.0 vscode-dotnet-runtime|ms-|2.0.1 live-server|ms-|0.4.13 vscode-typescript-next|ms-|5.4.20240215 angular-console|nrw|18.16.0 vscode-yaml|red|1.14.0 sonarlint-vscode|Son|4.3.0 code-spell-checker|str|3.0.1 vscode-stylelint|sty|1.3.0 vscodeintellicode|Vis|1.2.30 vscodeintellicode-completions|Vis|1.0.22
gjsjohnmurray commented 8 months ago

They are called the Layout Controls.

Does the title bar context menu offer an option for them?

sanket-bhalerao commented 8 months ago

while hiding i could see those options to check and uncheck, however after restarting i do not see the unchecked options anymore image. i tried checking in the global settings.json and the workspace settings too but could not see them there too.

vscodenpa commented 8 months ago

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.

Happy Coding!

sanket-bhalerao commented 8 months ago

i still think this is a bug. if i can hide something by right click and choosing an option it should also get visible by those gestures as well.

gjsjohnmurray commented 8 months ago

@sanket-bhalerao I am unable to reproduce what you reported. Please provide detailed steps, starting by creating an empty profile:

image

gjsjohnmurray commented 8 months ago

@sanket-bhalerao nevermind, I now see what you have done. Please unselect "Editor Actions" on that menu. This takes priority over the "Layout Controls" setting.

sanket-bhalerao commented 8 months ago

@gjsjohnmurray ,

the 'editor actions' has no effect on the layout controls.

steps:

  1. right click on the layout control icons and uncheck/hide them
  2. restart vscode
  3. right click on the titlebar and try to get the layout controls back (do not see an option)
gjsjohnmurray commented 8 months ago

Actually, rather than unchecking it I suggest you reset this setting to its default:

image

Toggling that context menu checkbox switches this setting between titleBar and hidden. When it is titleBar the editor actions buttons prevent the layout controls from displaying there. When it is hidden the editor actions don't show there, but they don't display in the upper right of the editor area either (their default position).

sanket-bhalerao commented 8 months ago

i hid the layout controls with the following option initially image

and now trying to get them back

sanket-bhalerao commented 8 months ago

only if i click on the layout control icons, i can see option to show the layout controls again, if i just click on the titlebar it does not show those options, and since i hid all those layout controls i can no longer click on those icons to unhide them (I am aware that this is stupid thing to create issue for but i find this behavior weird) image

gjsjohnmurray commented 8 months ago

After you cleared the checkmark on those 3 options do you still have the ... button? If so, does its context menu let you show the 3 options again?

image

sanket-bhalerao commented 8 months ago

the options in the context menu are to take the action (click on toggle panel shows or hides the panel) , but nothing for getting the icon back on the titlebar image

gjsjohnmurray commented 8 months ago

Are you right-clicking on the ... there?

sanket-bhalerao commented 8 months ago

aha, yup got them back. kudos to your patience :) thank you so much!