Skip to content

Title bar is doubled when using native title + custom menu + command center disabled (Insiders) #249746

@tycode

Description

@tycode

Does this issue occur when all extensions are disabled?: Yes

Version: 1.101.0-insider
Commit: 747d0bd
Date: 2025-05-23T06:35:04.132Z
Electron: 35.4.0
ElectronBuildId: 11602177
Chromium: 134.0.6998.205
Node.js: 22.15.0
V8: 13.4.114.21-electron.0
OS: Linux x64 6.1.0-37-amd64

settings.json:

{
    "window.menuStyle": "custom",
    "window.titleBarStyle": "native",
    "window.commandCenter": false
}

Steps to Reproduce:

  1. Fresh install of above Insiders release
  2. Apply the above settings.json (restart VS Code when prompted)
  3. Observe that the title bar is displayed twice: once in the native title bar, once in the menu bar (see below screenshot)

Expected behavior: this combination of settings should hide the custom title bar, so that that space can be used for the menu.

Additional notes:

  1. Even if the space isn't needed for the menu (when the window is big enough), the duplicated text is still distracting clutter so it should always be hidden with this combination of settings.
  2. If Copilot Controls and Layout Controls are additionally disabled, the entire width of the window should be usable by the custom menu.

Image

@benibenj

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsystem-context-menuIssue related to context menu drawn by the OStitlebarVS Code main title bar issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions