You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Request: Left Close/Max/Min buttons variant for custom title bar #53812
I really like the new title bar style that can be activated by "editor.titleBarStyle": "custom". However, as a long time Ubuntu user I'm accustomed to my window close/max/min controls being on the left hand side of the title bar. Is is possbible to have another member in the titleBarStyle enum "custom-left" or something named similarly to have the controls render on the far left rather than the far right in the order close, minimize, maximize(restore)?
Below, the native menu for VS Code (I do not mind the square buttons of the ciustom style as they fit well with the VS brand):
Reacted by Aristotelis, Dominik Zogg, Nilesh Kevlani, Alex, Cenk SOYKAN, Lucas Vasilakopoulos, Juan Jose Comellas, Lingfeng Zhang, Ben Godfrey, Spencer Gibb and 46 more
Reacted by Drew Gonzales, Cody Swartz, Vlad Svitlychnyi, nicole mikołajczyk, 谢夏戈, Rodrigo de Souza, fernando liévano, Smith AR, ljubadr, Fabian Bormann and 4 more
I am in the same position. The custom title bar looks great - I don't mind if it can't inherit the button style, but the positioning would be a nice start!
explored this a bit and because the menu is also present on the title bar it doesn't look so great. looking for a good solution and open to feedback, thanks
Patrick Santos (@flabbyPatty) This issue was opened as the native style cannot be used by many Linux users due to the absence of contrast between teh menu background and the text. Hence, the custom menu needs to be used which has no options for buttons on the left.
I really like a new custom style title bar style, but it would be better to have a option to put close/min/max buttons on the left. There are plenty of Ubuntu users...
Reacted by Alexey Dubrov, Ben Godfrey, Raphael, b-fuze, Gus E, Federico Poli, kogcyc, Erik Kallen, Devan, Adnan Habbat and 9 more
Since this feature request came at a time when custom was the default for linux, I am closing it now. The preferred experience on linux is the native title bar to avoid implementing custom DE logic ourselves. If you like the custom titlebar, I am happy, but unfortunately, adding linux customization will not happen.
Reacted by The Northstar✨ System, Carlos Parada, Pedro Tôrres, jiechus and RileyIsPurple
Reacted by Matt Fantinel, Arian van Putten, Dave Bicer, Jr., Jonas Palm, Rohitt Vashishtha, Johannes R. L. Dickenson, Fabian Bormann, Vlad Svitlychnyi, Thinh Nguyen, Nate Reinar Windwood and 9 more
Since new features are being added to the custom title bar style, such as the Command Center and the layout control buttons, I wonder if this issue should be reconsidered, assuming that there's interest in it of course.
I'm probably missing some other piece of information but form a very quick search, Electron seems to have been tracking Linux CSD support in this issue: electron/electron#11907, and here for wayland: electron/electron#27522
Reacted by Benguin, Thinh Nguyen, Rohan Mishra, Andrii Oriekhov, Haseeb Majid, Attila Pinter, Finn Merlett, Nate Reinar Windwood, Dmitry Chermnykh, Andrew Davis and 3 more
I would like to use this feature as electron apps ignore fonts scale factor on wayland session and "native" title bar looks small. "Custom" title bar doesn't allow title bar icons move (close, maximize etc.).
This should be reopened, since in issues like #224515, using the custom titlebar on Linux is now recommended. #245423 might fix this, but I don’t know.
I still don't understand how this cant be done by the devs. There are literally extensions that have done this by just basically changing some css properties. Then this issue has been lying around for years without being implemented 😷
Did this change? My Mint settings have the window controls on the left. I set VSCode's to "native" and now they just look like the default VSCode window buttons and are on the right.
When I set it to "custom", they look like they do on Windows 8/10 for some reason...
Activity
lucasyvas commentedon Nov 12, 2018
I am in the same position. The custom title bar looks great - I don't mind if it can't inherit the button style, but the positioning would be a nice start!
sbatten commentedon Nov 13, 2018
explored this a bit and because the menu is also present on the title bar it doesn't look so great. looking for a good solution and open to feedback, thanks
spencergibb commentedon Dec 10, 2018
My reason for using this setting is because it's the suggested workaround for blank menus on ubuntu. Is there an open issue for that?
sbatten commentedon Dec 10, 2018
Spencer Gibb (@spencergibb) the electron issue is fixed but not yet in stable builds electron/electron#15194
njkevlani commentedon Dec 15, 2018
Are PRs welcomed for this feature request?
I know this issue is not labelled as "help-wanted" but there is little to no activity in a while.
Would be happy to contribute if needed :)
flabbyPatty commentedon Dec 18, 2018
File > Preferences > Settings > Windows > Title Bar Style set to native
The above should work if you configured your minimize, maximize and close buttons' position to the left.
borgdylan commentedon Dec 18, 2018
Patrick Santos (@flabbyPatty) This issue was opened as the native style cannot be used by many Linux users due to the absence of contrast between teh menu background and the text. Hence, the custom menu needs to be used which has no options for buttons on the left.
michtesar commentedon Dec 18, 2018
I really like a new custom style title bar style, but it would be better to have a option to put close/min/max buttons on the left. There are plenty of Ubuntu users...
BenJetson commentedon Dec 19, 2018
On GNOME-based desktops, implementing client-side window decorations could solve this problem.
https://wiki.gnome.org/Initiatives/CSD
sbatten commentedon Oct 10, 2019
Since this feature request came at a time when custom was the default for linux, I am closing it now. The preferred experience on linux is the native title bar to avoid implementing custom DE logic ourselves. If you like the custom titlebar, I am happy, but unfortunately, adding linux customization will not happen.
glics commentedon Jul 28, 2022
Since new features are being added to the
customtitle bar style, such as the Command Center and the layout control buttons, I wonder if this issue should be reconsidered, assuming that there's interest in it of course.I'm probably missing some other piece of information but form a very quick search, Electron seems to have been tracking Linux CSD support in this issue: electron/electron#11907, and here for wayland: electron/electron#27522
Benguin commentedon Jul 28, 2022
I'm not sure why this is considered a difficult issue; on Mac OS the layout already matches what is being asked for, as seen on the latest release notes https://code.visualstudio.com/assets/updates/1_69/cc-polish.png
I've used custom CSS for vs code before that also made this layout really simple to accomplish (https://preview.redd.it/1u4raip63sm51.png?width=897&format=png&auto=webp&s=d134f7c51c67f1d05321bd7404883c9557d7b748); the only reason I'm not using that now is that the extension was buggy and I wouldn't advise anyone use that.
flying-sheep commentedon Oct 12, 2023
The native title bar crashes on linux (#184124). Would be great to revisit this.
ipeacocks commentedon May 26, 2024
I would like to use this feature as electron apps ignore fonts scale factor on wayland session and "native" title bar looks small. "Custom" title bar doesn't allow title bar icons move (close, maximize etc.).
arigit commentedon Nov 30, 2024
"Native" is unusable on linux with scaled desktop. Custom works, but the theme doesn't follow the window control placement.
flying-sheep commentedon May 6, 2025
This should be reopened, since in issues like #224515, using the custom titlebar on Linux is now recommended. #245423 might fix this, but I don’t know.
louwers commentedon May 19, 2025
Custom is also the default now (again). Could this issue be reopened?
4fort commentedon May 19, 2025
I still don't understand how this cant be done by the devs. There are literally extensions that have done this by just basically changing some css properties. Then this issue has been lying around for years without being implemented 😷
Supuhstar commentedon Jul 16, 2025
Did this change? My Mint settings have the window controls on the left. I set VSCode's to "native" and now they just look like the default VSCode window buttons and are on the right.
When I set it to "custom", they look like they do on Windows 8/10 for some reason...