microsoft / vscode

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

When "Command Center" is enabled in titlebar, it unecessarily disables custom titles #192644

Closed mkanet closed 6 months ago

mkanet commented 1 year ago

Type: Bug

  1. Add the following setting in user settings.json: "window.title": "Visual Studio Code - ${activeEditorLong}${separator}${rootName}",
  2. Open any supported VSCode file. This should display Visual Studio Code - C:\test.ps1 in the title bar.
  3. Enabling "Command Center" in title bar, completely/unecessarily disables the custom title.

Even though there's plenty of space to display both the custom title and the tiny <- -> Command Center buttons, VSCode just completely disables the custom title just to display those Command Center buttons.

The two Command Center buttons should be displayed to the left of the custom window title, instead, the Command Center buttons disable the custom title and put the Command Center buttons in the middle of the title bar with nothing else displayed; which is a complete waste of space.

VS Code version: Code 1.82.0 (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:07:07.438Z) OS version: Windows_NT x64 10.0.22621 Modes: Unsupported

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 4000)| |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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.94GB (17.67GB free)| |Process Argv|C:\\Users\\micha\\AppData\\Roaming\\Code\\User\\MKANET.code-workspace --crash-reporter-id 59710a01-d946-4fba-80e6-4964125a52ac| |Screen Reader|no| |VM|0%|
Extensions (42) Extension|Author (truncated)|Version ---|---|--- autoit|crs|0.0.22 python-environment-manager|don|1.1.1 python-extension-pack|don|1.7.0 prettier-vscode|esb|10.1.0 vs-code-xml-format|fab|0.1.5 code-runner|for|0.12.0 output-colorizer|IBM|0.1.2 reg|ion|1.1.0 autofilename|Jer|0.1.3 replace-curly-quotes|jin|1.1.0 google-search|kam|0.0.1 vscode-colorize|kam|0.11.1 vscode-home-assistant|kee|1.39.0 vsc-python-indent|Kev|1.18.0 vscode-gutter-preview|kis|0.30.0 MagicPython|mag|1.1.0 vscode-autohotkey-plus-plus|mar|5.0.3 mkanet-theme-v2|MKA|0.3.5 python|ms-|2023.16.0 vscode-pylance|ms-|2023.9.10 jupyter|ms-|2023.8.1002501831 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-wsl|ms-|0.81.2 cmake-tools|ms-|1.15.31 cpptools|ms-|1.17.5 cpptools-extension-pack|ms-|1.3.0 powershell|ms-|2023.6.0 autodocstring|njp|0.6.1 gitlink|qez|1.2.4 nginx-formatter|ray|0.0.13 terminal-manager|sau|1.0.6 vscode-autohotkey|sle|0.2.2 cmake|twx|0.0.17 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 vscode-icons|vsc|12.5.0 jinja|who|0.0.8 php-debug|xde|1.33.0 php-pack|xde|1.0.3 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30792226 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30803844 2e4cg342:30602488 f6dab269:30613381 showlangstatbar:30737416 0bi6i642:30831757 03d35959:30757346 57b77579:30736110 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30805730 pythonnoceb:30805159 asynctok:30821568 dsvsc013:30795093 dsvsc014:30804076 diffeditorv2:30821572 dsvsc015cf:30829746 ```
sbatten commented 11 months ago

The command center shows the title inside of it?

image
mkanet commented 11 months ago

@sbatten the problem is that there isn't enough room to fit a complete path in the Command-Center; at least on smaller monitors. If we could have the flexibility to display the normal Title (in which there is plenty of space) and also display the command center arrows next to it, we can have more flexibility without any negative side-effects.

image

Below: (There is room for both the complete path and Command Center arrows and also looks cleaner) image

...or, at least increase the width of the Command-Center to use more of the unused space. However, I still think my suggestion would look cleaner with more flexibility and doesn't require changing the size of the current Command-Center.

sbatten commented 11 months ago

Are you just wanting to disable the command center?

mkanet commented 11 months ago

Are you just wanting to disable the command center?

No I don't. I just want to display both the normal Title on VSCode's title bar AND command center together. I don't want to display "Quick Open". Currently, we are limited to displaying only the Title OR command center on the title bar, not both.

sbatten commented 9 months ago

Like this?

<Menu Bar> <Left Arrow> <Right Arrow> <Search Box> <Custom Title> <Window Controls>
mkanet commented 9 months ago

Like this?

<Menu Bar> <Left Arrow> <Right Arrow> <Search Box> <Custom Title> <Window Controls>

No, I simply want:

<Menu Bar> <Left Arrow> <Right Arrow> <Custom Title> <Window Controls>

I don't want the search bar. Its not very good for custom titles that display long file paths. It truncates longer paths. Plus, I prefer to use the Command Palette hotkey shortcut instead of the search bar.

I just want the arrows associated with the Command Center. I don't want the search bar. I just want to display the custom title on the titlebar without it getting truncated.

It would have been nice if the Breadcrumb bar displayed full paths; including source drive letter. Since it doesn't, the only other way to consistently display the full path of the file that's currently opened in the editor (without it getting truncated) is to display the custom title normally without the search bar.

sbatten commented 8 months ago

@jrieken if I understand this now, the request is essentially to allow showing the arrows from the command center without the search box (keeping the original title format). Maybe we could decouple the command center from those actions if there is a strong desire here.

VSCodeTriageBot commented 8 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

VSCodeTriageBot commented 7 months ago

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

VSCodeTriageBot commented 6 months ago

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!