Skip to content

Request: Left Close/Max/Min buttons variant for custom title bar #53812

Closed

Description

@borgdylan

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):
image

Activity

  1. added
    feature-request
    titlebar
    on Jul 10, 2018
  2. lucasyvas commented on Nov 12, 2018

    @lucasyvas

    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!

  3. sbatten commented on Nov 13, 2018

    @sbatten
    Member

    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

  4. spencergibb commented on Dec 10, 2018

    @spencergibb

    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?

  5. sbatten commented on Dec 10, 2018

    @sbatten
    Member

    Spencer Gibb (@spencergibb) the electron issue is fixed but not yet in stable builds electron/electron#15194

  6. njkevlani commented on Dec 15, 2018

    @njkevlani
    Contributor

    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 :)

  7. flabbyPatty commented on Dec 18, 2018

    @flabbyPatty

    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.

  8. borgdylan commented on Dec 18, 2018

    @borgdylan
    Author

    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.

  9. michtesar commented on Dec 18, 2018

    @michtesar

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

  10. BenJetson commented on Dec 19, 2018

    @BenJetson

    On GNOME-based desktops, implementing client-side window decorations could solve this problem.

    https://wiki.gnome.org/Initiatives/CSD

  11. sbatten commented on Oct 10, 2019

    @sbatten
    Member

    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.

  12. added
    *out-of-scope
    on Oct 10, 2019
  13. glics commented on Jul 28, 2022

    @glics

    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

  14. Benguin commented on Jul 28, 2022

    @Benguin

    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.

  15. flying-sheep commented on Oct 12, 2023

    @flying-sheep
    Contributor

    The native title bar crashes on linux (#184124). Would be great to revisit this.

  16. ipeacocks commented on May 26, 2024

    @ipeacocks

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

  17. arigit commented on Nov 30, 2024

    @arigit

    "Native" is unusable on linux with scaled desktop. Custom works, but the theme doesn't follow the window control placement.

  18. flying-sheep commented on May 6, 2025

    @flying-sheep
    Contributor

    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.

  19. louwers commented on May 19, 2025

    @louwers

    Custom is also the default now (again). Could this issue be reopened?

  20. 4fort commented on May 19, 2025

    @4fort

    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 😷

  21. Supuhstar commented on Jul 16, 2025

    @Supuhstar

    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.

    Image

    When I set it to "custom", they look like they do on Windows 8/10 for some reason...

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

Metadata

Metadata

Labels

*out-of-scopefeature-requesttitlebar

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions