Repository navigation
Open
Labels
feature-requestRequest for new features or functionalitylinuxIssues with VS Code on LinuxtitlebarVS Code main title bar issues
Milestone
Description
Just as Mozilla did in Firefox 59 (you can check it out in Firefox Nightly atm), and someone was doing for the Mac version in #12377, it would be really good to have an option to integrate the title bar in the same row where the tabs reside, in order to save some vertical space (which is even more important if like me you usually work on a non-FHD laptop such as an old Thinkpad or a Dell Latitude).
I said in Gnome cause it's what I use, but maybe it could be made into a more portable solution that has options for all DEs with top bars (be it Mac, Gnome, Xfce...). Like Mozilla did, it could even start to roll out when just some DEs are supported, with the warning that it may not work on all systems.
Reacted by Nathaniel Simard, Shubham Arora, Yukai Huang, Maxime Quandalle, kostich, Smit, oChen, Thibault Saunier, Gordian Edenhofer, JaneSmith and 208 more
Reacted by Smit, David Refoua, Brett, Yuri Toledo, Felicitas Pojtinger, Simon Allen, Tomasz Waszczyk, Cleo Menezes Jr., Andrii Maksymets, Manuel Castaño and 3 more
Reacted by Pranav, Felicitas Pojtinger, Simon Allen, Red J Adaya, Tomasz Waszczyk, Tukusej’s Sirs, Cleo Menezes Jr., Andrii Maksymets, Manuel Castaño, Eren and 2 more
Reacted by Smit, Zander, Nikita Yu., David Refoua, Guillaume AMAT, Eyal Cherevatsky, Raphael DUCOM, Brett, Teoh Han Hui, raul75sh and 22 more
Reacted by Pranav, Maz, Simon Allen, Red J Adaya, Color Fuzzy, Tomasz Waszczyk, Tukusej’s Sirs, Carlos H., Andrii Maksymets, Manuel Castaño and 3 more
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalitylinuxIssues with VS Code on LinuxtitlebarVS Code main title bar issues
Activity
[-]Option to hide title bar on GNU/Linux systems with Gnome 3[/-][+]Feature Request: Option to hide title bar on GNU/Linux systems with Gnome 3[/+][-]Feature Request: Option to hide title bar on GNU/Linux systems with Gnome 3[/-][+][Feature Request] Option to hide title bar on GNU/Linux systems with Gnome 3[/+][-][Feature Request] Option to hide title bar on GNU/Linux systems with Gnome 3[/-][+]Titlebar-less view for Linux[/+]LightSith commentedon Feb 27, 2018
It will be very nice it this happens for XFCE
denidiasjr commentedon Jun 5, 2018
Any news about this issue? The title bar take a lot of the screen
ZanderBrown commentedon Jun 5, 2018
It would be important on Linux to try and respect peoples choice of controls (e.g. GNOME only have close by default but I have minimise & close) but this would be really nice to have
https://wiki.gnome.org/Initiatives/CSD
furai commentedon Jun 12, 2018
Would be really nice to be able to remove titlebar, maybe similar to how Firefox have done it.
surajverma commentedon Aug 7, 2018
In Version: 1.25.1, choosing custom title bar style did the trick for me, it merges menu bar and title bar into one, although the look is not very neat, but it saves at least some screen space.
Try it. It's nice.
Go to File>Preference>Settings and in user settings write
"window.titleBarStyle": "custom",I am on Ubuntu 18.04 LTS
JaneSmith commentedon Aug 7, 2018
I have since switched to GNOME Builder for its native look and feel on Linux, as well as its significantly greater performance as it does not use Electron. It's sad to see this still hasn't been properly implemented in VS Code.
24 remaining items
TomaszWaszczyk commentedon Apr 13, 2021
On Linux Mint
Go to File>Preference>Settings and in user settings write "window.titleBarStyle": "custom",works really good:tukusejssirs commentedon Aug 17, 2021
I use SwayWM in tabbed mode. When
window.titleBarStyleis set tonative, I see no title bar, however, context menus and the main menu (File, Edit, …) are in light theme (I use dark theme, actuallyHigh Contrast).When I set
window.titleBarStyletocustom, context menus look nice, but an extra title bar show up.I don’t to see any minimise/maximise/close buttons: I haven’t used that for ages! 😉 Screen estate is important, therefore I’d like know if there is a quick and dirty way to disable/hide the custom title bar. Thank! 🙏
Anyway, it would be nice if the main menu could still auto-hide and show on pressing Alt.
seitbekir commentedon Dec 15, 2021
What about to make possible to place titlebar controls to the left in custom mode?
wojpawlik commentedon Jan 21, 2022
For Gnome users, https://github.com/hardpixel/unite-shell can "merge" title bar into the top panel:

DorianRudolph commentedon Jan 31, 2022
My PR #141847 adds an option to hide the title bar when it is not needed for the menu bar.
Tukusej’s Sirs (@tukusejssirs) In toggle mode, the title bar still shows up when pressing Alt as you suggested.
o-alquimista commentedon May 17, 2022
The custom
window.titleBarStylehas one missing functionality in Linux: double-click maximizes the window. This works on Firefox.Mekacher-Anis commentedon Aug 5, 2022
Works with version 1.70.0 on Gnome with 3-clicks instead of 2
rodrigoGA commentedon Aug 6, 2022
Please add compatibility for native top bar buttons, with the option
"window.titleBarStyle": "custom",in linuxSupport for osx has been added, but more developers use linux.
If this is a product for developers do not deliver a lower quality version for linux. Don't be evil
xxKeefer commentedon Oct 23, 2022
I use a tiling window manager on Gnome, I think there really should be 3rd option of
"window.titleBarStyle": "none",to remove it completely. I have resorted to using vscode in fullscreen mode with the native title bar which is almost exactly the way I want it to be, except now my notifications don't show and no longer have access to the gnome-panel for media controls and the like. :(The
custommode still has the title bar taking up space, i don't need any of the information in the title bar, or the close button and if i need the menu i just want to press alt to reveal it like it does on thenativetitlebar for gnome with themenuBarVisibiltyset totogglenorogoth commentedon Nov 2, 2022
Daniel John Keefer (@xxKeefer) Same for me. My issue would be resolved if I could just show notifications over fullscreen view.
cfuendev commentedon Dec 20, 2022
For those with a Tiling WM such as Daniel John Keefer (@xxKeefer) The Windowed Zen Mode extension might be a decent workaround to the look you want. It saves a lot of space in the screen.
xxKeefer commentedon Dec 20, 2022
thanks for the suggestion CFUEN ── .✦ (@cfuendev) , however for anyone else reading i wouldn't recommend that extension, i kind of hides the stuff i want to see while not getting rid of the title bar
mlntr commentedon May 23, 2024
There's another issue for that you can support: #176467
Jervx commentedon Aug 10, 2024
Hi, could it be possible to customize the custom title bar traffic lights(minimize, maximize, close) buttons to use the native window button icon from linux? The buttons seems windows like icons and it does not respect the native icon.
But I noticed on mac using "custom" title bar style correctly uses the native window button icons.
Vscode & Nautilus side by side.

It's encouraging to see browsers like
FirefoxandEdgenow respecting the native window buttons/icons on Linux. I'm hopeful that vscode will do it too.