Skip to content

Custom title bar overlaps left-side window controls with Electron 43 #332131

Closed

Description

@tarik02

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

  • VS Code Version: Code OSS 1.135.0 from main
  • Electron Version: 43.1.0
  • OS Version: NixOS 26.05, KDE Plasma 6.6.6, Wayland

Steps to Reproduce:

  1. Configure KDE window decoration buttons to appear on the left.
  2. Launch VS Code with Electron 43+.
  3. Use "window.titleBarStyle": "custom" and "window.controlsStyle": "native".
  4. Observe the left side of the title bar.

Expected:

The custom title bar reserves space for the native controls.

Actual:

The app icon and menu overlap the native window controls:

Image

A bit of context:

Electron 43 respects the system window-control position on Linux. In this configuration, navigator.windowControlsOverlay.visible is true and env(titlebar-area-x) is 96px.

Related Electron change: electron/electron#51161

Activity

  1. vs-code-engineering commented on Aug 22, 2026

    @vs-code-engineering
    Contributor

    Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.134.0. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  2. tarik02 commented on Aug 22, 2026

    @tarik02
    Author

    @vs-code-engineering

    Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.134.0. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

    wdym i'm using master that's even newer than stable release

  3. flying-sheep commented on Aug 23, 2026

    @flying-sheep
    Contributor

    It’s just a bot that doesn’t know anything. Great to know that Electron finally places the buttons correctly!

  4. added
    bug
    linux
    on Aug 27, 2026
  5. added
    unreleased
    on Sep 16, 2026
  6. added this to the 1.139.0 milestone on Sep 16, 2026
  7. added
    insiders-released
    and removed
    unreleased
    on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasedlinuxverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions