-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Titlebar-less view for Linux #43154
Comments
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. |
It will be very nice it this happens for XFCE |
Any news about this issue? The title bar take a lot of the screen |
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 |
Would be really nice to be able to remove titlebar, maybe similar to how Firefox have done it. |
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. Go to File>Preference>Settings and in user settings write I am on Ubuntu 18.04 LTS |
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. |
@SurajVerma unfortunatly it looks straight out of Windows 10 and doesn't respect control layout, I'm not going to pretend that is easy to implement but the current implementation feels very WIP on Linux |
@ZanderBrown I agree with you. That's why I said IMHO it's not very neat, it just saves us some screen real estate. :) |
what @SurajVerma have + |
@SurajVerma thanks for your idea, but I already hide the menu bars by default (I bring them up using Alt when I need them, |
@SurajVerma THANK YOU. Exactly what I was looking to do. |
This looks like it can be closed. |
This is indeed basically done but currently the titlebar looks out of place on Linux as it uses the Windows titlebar "theme". It would be nice if it had (at least) "themes" that make it look native on Gnome and KDE desktop environments. Food for thought. |
An Adwaita-dark button is basically min-height: 24px;
min-width: 16px;
padding: 4px 9px;
border: 1px solid;
border-radius: 5px;
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
display: inline-block;
margin: 3px;
color: #eeeeec;
outline-color: rgba(238, 238, 236, 0.3);
border-color: #1b1b1b;
border-bottom-color: #070707;
background-image: linear-gradient(to top, #323232 2px, #353535);
text-shadow: 0 -1px rgba(0, 0, 0, 0.83435);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.02), 0 1px 2px rgba(0, 0, 0, 0.07); Then you "just" need to hook into GtkSettings:gtk-decoration-layout and display the right buttons |
I think this is something that needs to happen upstream in Electron. |
Why the downvote? But sure ideally electron would provide something similar to it already does on macOS but the variable number of controls and positon would still require some interesting layouting in vscode |
There should be a way to ### hide title bar using a shortkey. |
Exactly what I wanted. Deepin 15.11. |
this should be the result when people search Google, period. |
This works for Me. Ubuntu 20.04 and VsCode 1.45.1 |
Works perfectly on Fedora 32 & vscode 1.46.1 |
I would say that this can be actually closed soon. Two remaining issues are that the
|
As the original issue states "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". |
On Ubuntu 20.04 I can recommend https://extensions.gnome.org/extension/2015/no-title-bar-forked/ to perfectly hide the title bar. |
hey it's works for me. thanks! |
Using Deepin(20) here too. I've changed the theme for all Dark, and adjusted for in directories, store, settings been theme Light. I used the tip of @SurajVerma. Downloaded the extension GlassIt-VSC and the VS Theme Dracula, is the result: |
I use SwayWM in tabbed mode. When When I set 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. |
What about to make possible to place titlebar controls to the left in custom mode? |
For Gnome users, https://github.com/hardpixel/unite-shell can "merge" title bar into the top panel: |
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. |
The custom |
Works with version 1.70.0 on Gnome with 3-clicks instead of 2 |
Please add compatibility for native top bar buttons, with the option |
I use a tiling window manager on Gnome, I think there really should be 3rd option of The |
@xxKeefer Same for me. My issue would be resolved if I could just show notifications over fullscreen view. |
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. |
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 |
There's another issue for that you can support: #176467 |
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.
The text was updated successfully, but these errors were encountered: