Skip to content

[GNOME Linux] No window decoration (shadow) if a window title bar style is custom #225073

Open
@proninyaroslav

Description

@proninyaroslav

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

  • VS Code Version: 1.92.0
  • OS Version: Fedora 40 (GNOME 46)

Steps to Reproduce:

  1. Set window.titleBarStyle options to custom in the settings
  2. Run VSCode in the Wayland mode, for example, type it in the terminal:
$ ELECTRON_OZONE_PLATFORM_HINT=auto code

Expected behaviour

There should be a window decoration (shadow) as it is in XWayland compatibility mode:
image

Actual behaviour

There is no window decoration/shadow:
image

But If I set window.titleBarStyle to native, the window decoration/shadow appears:
image

Metadata

Metadata

Labels

confirmation-pendingelectronIssues and items related to Electroninfo-neededIssue requires more information from postertitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)waylandIssue related to wayland display server

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions