microsoft / microsoft/vscode

[Bug] Replacing window decorations requires window reinitialisation.

Open
#331,022 0 comments 1 reaction 2 assignees Claimed by @hawkticehurst View on GitHub
modernization
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

#### Whether This Issue Recurs When All Extensions Are Disabled

I was unable to test `--disable-extensions` in time, but I expect so.

#### VS Code Version

-

~~~YAML
Version: 1.134.0-insider
Commit: f871d4fa7ddb8957f3630870d87c28bf632872d1
Date: 2026-08-14T16:58:02Z
Electron: 42.8.1
ElectronBuildId: 14906494
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
@github/copilot: 1.0.79
@github/copilot-sdk: 1.0.10-preview.0
OS: f871d4fa7ddb8957f3630870d87c28bf632872d1
~~~

- 1.

~~~pwsh
#!/usr/bin/env -S pwsh -File
rpm -qf (Get-Command code-insiders).Source --queryformat @'
Name: %{NAME}
Version: %{VERSION}
Release: %{RELEASE}
Architecture: %{ARCH}
Install Date: %{INSTALLTIME:date}
Size: %{SIZE}
Signature: %{SIGPGP:pgpsig}
Source RPM: %{SOURCERPM}
Build Date: %{BUILDTIME:date}
Build Host: %{BUILDHOST}
Packager: %{PACKAGER}
Vendor: %{VENDOR}
'@ | yq -P
~~~

1.

~~~YAML
Name: code-insiders
Version: 1.134.0
Release: 1786728489.el8
Architecture: x86_64
Install Date: Sat 15 Aug 2026 13:14:55 BST
Size: 1062994350
Signature: RSA/SHA256, Fri 14 Aug 2026 18:33:25 BST, Key ID eb3e94adbe1229cf
Source RPM: code-insiders-1.134.0-1786728489.el8.src.rpm
Build Date: Fri 14 Aug 2026 18:28:13 BST
Build Host: 33297293c000001
Packager: Visual Studio Code Team
Vendor: Microsoft Corporation
~~~

#### OS Version

1.

~~~pwsh
#!/usr/bin/env -S pwsh -File
$OSRelease = [Ordered]@{}
Get-Content /etc/os-release | ForEach-Object {
If ($_ -Match '^\s*([^=]+)=(.*)$') {
$Name = $Matches[1]
$Value = $Matches[2]
If ($Value -Match '^"(.*)"$') {
$Value = $Matches[1]
}
If ($Value -Match '^[0-9]+$') {
$Value = [Int64]$Value
}
$OSRelease[$Name] = $Value
}
}
[PSCustomObject]$OSRelease |
Select-Object NAME, VARIANT, VERSION_ID |
Format-List |
yq -P
~~~

1.

~~~YAML
NAME: Fedora Linux
VARIANT: KDE Plasma Desktop Edition
VERSION_ID: 44
~~~

#### Steps To Reproduce It

After `sudo dnf5 install --refresh -y code-insiders && code-insiders`, I enabled Backup And Sync with my Stable-channel Microsoft account. However, the window decorations were not replaced:

Image

…until I reinitialised it:

https://github.com/user-attachments/assets/d628c9e1-6007-4595-bebe-5c99cf5751e7

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.