Skip to content

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Nov 14, 2025

Depends on Electron 39.2.0

//cc @deepak1556

Copilot AI review requested due to automatic review settings November 14, 2025 08:29
@bpasero bpasero self-assigned this Nov 14, 2025
Copilot finished reviewing on behalf of bpasero November 14, 2025 08:31
@bpasero bpasero added this to the November 2025 milestone Nov 14, 2025
@bpasero bpasero changed the title ⛔ setting and removing window.activeBorder color does not reset the window border color (fix #264569) Setting and removing window.activeBorder color does not reset the window border color (fix #264569) Nov 14, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes issue #264569 where setting and removing the window.activeBorder color does not properly reset the window border color. The fix involves two key changes: removing the window.border setting from the list of settings that require a window restart (allowing dynamic updates), and correcting the logic for resetting to default accent colors by using null instead of an empty string.

  • Removed window.border from settings requiring restart, enabling dynamic updates
  • Fixed default accent color reset logic to use null instead of empty string

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/relauncher/browser/relauncher.contribution.ts Removed window.border from restart-required settings and cleaned up unused isWindows import
src/vs/platform/native/electron-main/nativeHostMainService.ts Changed default accent color reset from empty string to null to properly match Electron API expectations

@bpasero bpasero marked this pull request as ready for review November 17, 2025 04:45
@bpasero bpasero enabled auto-merge (squash) November 17, 2025 04:45
@bpasero bpasero merged commit 8b47079 into main Nov 17, 2025
28 checks passed
@bpasero bpasero deleted the ben/psychiatric-dove branch November 17, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants