Skip to content

Titlebar-less view for Linux #43154

@ghost

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.

Activity

ghost changed the title [-]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[/+] on Feb 8, 2018
ghost changed the title [-]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[/+] on Feb 8, 2018
changed the title [-][Feature Request] Option to hide title bar on GNU/Linux systems with Gnome 3[/-] [+]Titlebar-less view for Linux[/+] on Feb 8, 2018
added
feature-requestRequest for new features or functionality
linuxIssues with VS Code on Linux
on Feb 8, 2018
removed their assignment
on Feb 8, 2018
ghost

ghost commented on Feb 8, 2018

@ghost

I've just seen the titlebar-less ideas for Windows on #17060 too and I think any design idea used there can easily be converted for Gnome/Xfce/most Linux DEs as they too have the three buttons on top right.

LastLightSith

LastLightSith commented on Feb 27, 2018

@LastLightSith

It will be very nice it this happens for XFCE

denidiasjr

denidiasjr commented on Jun 5, 2018

@denidiasjr

Any news about this issue? The title bar take a lot of the screen

ZanderBrown

ZanderBrown commented on Jun 5, 2018

@ZanderBrown

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

furai commented on Jun 12, 2018

@furai

Would be really nice to be able to remove titlebar, maybe similar to how Firefox have done it.

SurajVerma

SurajVerma commented on Aug 7, 2018

@SurajVerma

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

32 remaining items

tukusejssirs

tukusejssirs commented on Aug 17, 2021

@tukusejssirs

I use SwayWM in tabbed mode. When window.titleBarStyle is set to native, I see no title bar, however, context menus and the main menu (File, Edit, …) are in light theme (I use dark theme, actually High Contrast).

When I set window.titleBarStyle to custom, 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

seitbekir commented on Dec 15, 2021

@seitbekir

What about to make possible to place titlebar controls to the left in custom mode?

wojpawlik

wojpawlik commented on Jan 21, 2022

@wojpawlik

For Gnome users, https://github.com/hardpixel/unite-shell can "merge" title bar into the top panel:
image

DorianRudolph

DorianRudolph commented on Jan 31, 2022

@DorianRudolph

My PR #141847 adds an option to hide the title bar when it is not needed for the menu bar.

@tukusejssirs In toggle mode, the title bar still shows up when pressing Alt as you suggested.

o-alquimista

o-alquimista commented on May 17, 2022

@o-alquimista

The custom window.titleBarStyle has one missing functionality in Linux: double-click maximizes the window. This works on Firefox.

Mekacher-Anis

Mekacher-Anis commented on Aug 5, 2022

@Mekacher-Anis

The custom window.titleBarStyle has one missing functionality in Linux: double-click maximizes the window. This works on Firefox.

Works with version 1.70.0 on Gnome with 3-clicks instead of 2

rodrigoGA

rodrigoGA commented on Aug 6, 2022

@rodrigoGA

Please add compatibility for native top bar buttons, with the option "window.titleBarStyle": "custom", in linux
Support 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

xxKeefer commented on Oct 23, 2022

@xxKeefer

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 custom mode 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 the native titlebar for gnome with the menuBarVisibilty set to toggle

norogoth

norogoth commented on Nov 2, 2022

@norogoth

@xxKeefer Same for me. My issue would be resolved if I could just show notifications over fullscreen view.

cfuendev

cfuendev commented on Dec 20, 2022

@cfuendev

For those with a Tiling WM such as @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.

image

xxKeefer

xxKeefer commented on Dec 20, 2022

@xxKeefer

thanks for the suggestion @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

mlntr commented on May 23, 2024

@mlntr

I would say that this can be actually closed soon. Two remaining issues are that the custom titlebar on Linux should:

  • emulate native window control buttons look&feel on the platform

There's another issue for that you can support: #176467

Jervx

Jervx commented on Aug 10, 2024

@Jervx

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.
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalitylinuxIssues with VS Code on LinuxtitlebarVS Code main title bar issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @geoffreyvanwyk@ryanberckmans@akbyrd@dzintars@teohhanhui

      Issue actions

        Titlebar-less view for Linux · Issue #43154 · microsoft/vscode